Exemple #1
0
        //[Authorize(Roles = "Admin,Client,Employee")]
        public ActionResult BankDetails(BankDetails BankDetails, string BankName, string AccountNumber, string AccountOwner, string IfscCode, string BranchCode, string BranchAddress, string ContactNumber)
        {
            string CorporateId = User.Identity.GetUserId();
            bool   result      = cms.AddBankDetails(CorporateId, BankName, AccountNumber, AccountOwner, IfscCode, BranchCode, BranchAddress, ContactNumber);

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