public ActionResult Index()
        {
            List <ServiceExpenseViewModel> model = repo.GetSeviceExpenseList();

            TempData["ExportData"] = model;
            ViewBag.datasource     = model;
            return(View());
        }
Ejemplo n.º 2
0
        private void fillServiceDescription()
        {
            ServiceExpenseRepository _serRepo = new ServiceExpenseRepository();

            ViewData["ServiceDropdownModel"] = _serRepo.GetSeviceExpenseList();
        }