working with Ajax and Entity framework