private void SetPrerequisite() { var categories = _categoryProxy.GetAll(); ViewBag.Categories = categories; var units = _unitProxy.GetAll(); ViewBag.Units = units; }
public IActionResult List() { var list = _proxy.GetAll(); return(View()); }
private void SetPrerequisite() { var categories = _categoryProxy.GetAll(); ViewBag.Categories = categories; var units = _unitProxy.GetAll(); ViewBag.Units = units; }
public IActionResult List() { var list = _proxy.GetAll(); return(View()); }