public HttpResponseMessage GetUserProfile(string useremail) { //var user = entities.tblUsers.Where(u => u.useremail == useremail).ToList().FirstOrDefault(); var user = entities.proc_Get_Profile_User(useremail); return(Request.CreateResponse(HttpStatusCode.OK, user)); }