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