Example #1
0
        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"));
            }
        }
Example #2
0
        public ActionResult Create()
        {
            MdlRenewalReport model  = new MdlRenewalReport();
            MngRenewalReport ObjApp = new MngRenewalReport();

            model.GetAllOrg_ID = ObjApp.GetAllOrgDocIdForSocietyNGO(0);
            return(View(model));
        }
Example #3
0
 public void UpdateRenewalReport(MdlRenewalReport obj)
 {
     _dbFirms.usp_UpdateRenewalReport(obj.RReportID, obj.RReportYear, obj.SubmissionDate, obj.Org_ID, obj.RRResolutionDate, obj.IsAuthorityLetter, obj.ModifyByUser_ID);
 }
Example #4
0
 public void AddNewRenewalReport(MdlRenewalReport obj)
 {
     _dbFirms.usp_InsertRenewalReport(obj.RReportYear, obj.SubmissionDate, obj.Org_ID, obj.RRResolutionDate, obj.IsAuthorityLetter, obj.EnterByUser_ID);
 }