Пример #1
0
        public ActionResult AssignProduct()
        {
            ViewBag.CategoryList    = _accountService.GetAllCategory();
            ViewBag.SubCategoryList = _accountService.SubCategory();
            ViewBag.ProductList     = _accountService.ProductList();
            ViewBag.UsersInfo       = _accountService.GetAllUsers();
            AssignProductModel         sem = new AssignProductModel();
            List <ProductAssignedList> AllProductAssignedData = _accountService.AssignedDataList();
            ProductAssignedDisplay     model = new ProductAssignedDisplay();

            model.AllProductAssignedData = AllProductAssignedData;
            sem.DisplayData = model;
            return(View(sem));
        }