コード例 #1
0
 public ActionResult AddFinancialYear(FinancialYear model)
 {
     _financialService.AddFiscalYear(new FinancialYear()
     {
         FiscalYearName = model.FiscalYearName,
         FiscalYearCode = model.FiscalYearCode,
         StartDate      = model.StartDate,
         EndDate        = model.EndDate,
         IsActive       = model.IsActive
     });
     return(RedirectToAction("Index"));
 }