public ActionResult Create(MdlRenewalReport objform) { MdlRenewalReport model = new MdlRenewalReport(); MngRenewalReport ObjApp = new MngRenewalReport(); if (sig != null) { try { objform.EnterByUser_ID = sig.UserID; ObjApp.AddNewRenewalReport(objform); TempData["td_orgid"] = objform.Org_ID; return(RedirectToAction("Index")); } catch { model.GetAllOrg_ID = ObjApp.GetAllOrgDocIdForSocietyNGO(0); return(View(model)); } } else { return(RedirectToAction("Index", "Login")); } }
public ActionResult Create() { MdlRenewalReport model = new MdlRenewalReport(); MngRenewalReport ObjApp = new MngRenewalReport(); model.GetAllOrg_ID = ObjApp.GetAllOrgDocIdForSocietyNGO(0); return(View(model)); }
public void UpdateRenewalReport(MdlRenewalReport obj) { _dbFirms.usp_UpdateRenewalReport(obj.RReportID, obj.RReportYear, obj.SubmissionDate, obj.Org_ID, obj.RRResolutionDate, obj.IsAuthorityLetter, obj.ModifyByUser_ID); }
public void AddNewRenewalReport(MdlRenewalReport obj) { _dbFirms.usp_InsertRenewalReport(obj.RReportYear, obj.SubmissionDate, obj.Org_ID, obj.RRResolutionDate, obj.IsAuthorityLetter, obj.EnterByUser_ID); }