public bool UdpateDOAA1Form(FormsViewModel dOAA1ViewModel) { FormsRepository formsRepository = new FormsRepository(); bool isUpdate = formsRepository.Update(dOAA1ViewModel.info); GetDOAA1Data(dOAA1ViewModel.info.DataCaptYM, dOAA1ViewModel.info.MenuID); return(isUpdate); }