Ejemplo n.º 1
0
        public async Task <ActionResult> UkNonObligatedWeeeReceived(UkNonObligatedWeeeReceivedViewModel model)
        {
            SetBreadcrumb();
            ViewBag.TriggerDownload = ModelState.IsValid;

            await PopulateFilters(model);

            return(View(model));
        }
Ejemplo n.º 2
0
        public async Task <ActionResult> UkNonObligatedWeeeReceived()
        {
            SetBreadcrumb();
            ViewBag.TriggerDownload = false;

            var model = new UkNonObligatedWeeeReceivedViewModel();

            await PopulateFilters(model);

            return(View("UkNonObligatedWeeeReceived", model));
        }
Ejemplo n.º 3
0
 private async Task PopulateFilters(UkNonObligatedWeeeReceivedViewModel model)
 {
     model.ComplianceYears = await ComplianceYears();
 }