private void SetPrerequisite()
        {
            var categories = _categoryProxy.GetAll();

            ViewBag.Categories = categories;

            var units = _unitProxy.GetAll();

            ViewBag.Units = units;
        }
Beispiel #2
0
        public IActionResult List()
        {
            var list = _proxy.GetAll();

            return(View());
        }