Пример #1
0
        public ViewResult Copy()
        {
            var model = new AccountInfoCopyModel();

            model.FillYears();
            return(View("Copy", model));
        }
Пример #2
0
 public ViewResult Copy(AccountInfoCopyModel copyModel)
 {
     _accountInfoService.CopyAccountInfo(int.Parse(copyModel.SelectedCopyFromYear), int.Parse(copyModel.SelectedCopyToYear));
     var model = new AccountInfoCopyModel();
     model.FillYears();
     ViewData["Message"] = "Kontoinformasjonen er kopiert";
     return View("Copy", model);
 }
Пример #3
0
        public ViewResult Copy(AccountInfoCopyModel copyModel)
        {
            _accountInfoService.CopyAccountInfo(int.Parse(copyModel.SelectedCopyFromYear), int.Parse(copyModel.SelectedCopyToYear));
            var model = new AccountInfoCopyModel();

            model.FillYears();
            ViewData["Message"] = "Kontoinformasjonen er kopiert";
            return(View("Copy", model));
        }
Пример #4
0
 public ViewResult Copy()
 {
     var model = new AccountInfoCopyModel();
     model.FillYears();
     return View("Copy", model);
 }