private ResponseMessage <bool> LicenseValidation() { LicenseBiz biz = new LicenseBiz(); ResponseMessage <bool> res = new ResponseMessage <bool>(); foreach (DTO.PersonLicenseHead h in this.MasterLicense.PersonLicenseH) { DTO.PersonLicenseDetail details = this.MasterLicense.PersonLicenseD.Where(group => group.UPLOAD_GROUP_NO == h.UPLOAD_GROUP_NO).FirstOrDefault(); ResponseMessage <bool> result = biz.SingleLicenseValidation(h, details); if ((result.IsError) || (result.ResultMessage == false)) { this.MasterLicense.UCLicenseUCLicenseModelError.ShowMessageError = result.ErrorMsg.ToString(); this.MasterLicense.UCLicenseUCLicenseModelError.ShowModalError(); this.MasterLicense.UpdatePanelLicense.Update(); lblResult.Text = result.ErrorMsg.ToString(); btnNext.Enabled = false; pnlNext.Enabled = false; res = result; //return; } else if (result.ResultMessage == true) { res = result; } } return(res); }
public DTO.ResponseMessage <bool> updateLicenseDetail(DTO.PersonLicenseDetail d) { return(svc.updateLicenseDetail(d)); }
public DTO.ResponseMessage <bool> updateRenewLicense(DTO.PersonLicenseHead h, DTO.PersonLicenseDetail d) { return(svc.updateRenewLicense(h, d)); }
public DTO.ResponseMessage <bool> SingleLicenseValidation(DTO.PersonLicenseHead head, DTO.PersonLicenseDetail detail) { return(svc.SingleLicenseValidation(head, detail)); }