示例#1
0
        //[Authorize(Roles = "Admin,Client")]
        public ActionResult CompanyProfile(CompanyProfile CompanyProfile, string CompanyName, string CompanyType, string CompanySize, string Website
                                           , string PANCardNo, string TaxDeductionAccNo, string GSTTax, string ProvidentFund = "0", string EmployeeStateInsurance = "0")
        {
            string CorporateId = User.Identity.GetUserId();
            bool   result      = cms.AddCompanyProfile(CorporateId, CompanyName, CompanyType, CompanySize, Website, DateTime.UtcNow, CorporateId,
                                                       ProvidentFund, PANCardNo, TaxDeductionAccNo, EmployeeStateInsurance, GSTTax);

            return(RedirectToAction("CompanyProfile", "Dashboard", new { area = "CMS", status = result }));
        }