Exemplo n.º 1
0
 public sp_UserUpdateProfile_Result UpdateUserProfile(string pUserId, string pFirstName, string pLastName, string pPhoneNumber, DateTime pNacDate, char pGender, char pGenderPref, string pEmail, int pFaculty, string pImageUrl)
 {
     using (touchdbEntities context = new touchdbEntities())
     {
         var pUserProfile = context.sp_UserUpdateProfile(Guid.Parse(pUserId), pFirstName, pLastName, pPhoneNumber, pNacDate, pGender.ToString(), pGenderPref.ToString(), pEmail, pFaculty, pImageUrl).FirstOrDefault();
         return(pUserProfile);
     }
 }