public StudentEditViewModel Update(StudentEditViewModel e) { StudentRepo.Update(e.ToModel()); UnitOfWork.commit(); return(e); }
public GovernorateEditViewModel Update(GovernorateEditViewModel e) { GovernorateRepo.Update(e.ToModel()); UnitOfWork.commit(); return(e); }
public FieldEditViewModel Update(FieldEditViewModel e) { FieldRepo.Update(e.ToModel()); UnitOfWork.commit(); return(e); }
public NeighborhoodEditViewModel Update(NeighborhoodEditViewModel e) { NeighborhoodRepo.Update(e.ToModel()); UnitOfWork.commit(); return(e); }