public PatientDetailsUpdateQuery(string caseId, Models.PatientDetails patientDetails, MeUser user, IEnumerable <Models.Location> locations)
 {
     CaseId         = caseId;
     PatientDetails = patientDetails;
     User           = user;
     Locations      = locations;
 }
示例#2
0
 public bool Delete(int id)
 {
     try
     {
         Models.PatientDetails person = Find(id);
         db.PatientDetails.Remove(person);
         Save();
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }