public void UpdateOralCavity(OralCavityRequest request) { var oralCavity = AutoMapper.Mapper.Map <OralCavityRequest, OralCavity>(request); oralCavityRepository.Update(oralCavity); unitOfWork.Commit(); }
private async void CreateOralCavity() { if (this.OralCavityModel.HasValidationError()) { return; } var request = new OralCavityRequest { AircrewID = aircrewEntity.TransactionNumber, Suggestion = this.OralCavityModel.Suggestion, CheckOut = this.OralCavityModel.CheckOut, Conclusion = this.OralCavityModel.Conclusion, Diagnosis = this.OralCavityModel.Diagnosis, MedicalHistory = this.OralCavityModel.MedicalHistory, ActionUserID = CPApplication.CurrentUser.UserName }; await this.physicalExamMaxFacade.CreateOralCavity(request); this.ShowMessage(CommonMsgResource.Msg_SaveSuccess); }
public async Task CreateOralCavity(OralCavityRequest request) { await this.PostAsync <OralCavityRequest, string>("oralcavity/create", request); }
public async Task UpdateOralCavity(OralCavityRequest request) { await this.PutAsync <OralCavityRequest, string>("oralcavity/update", request); }
public void CreateOralCavity(OralCavityRequest request) { physicalExamMaxService.CreateOralCavity(request); }