示例#1
0
        public IActionResult List()
        {
            var model = _storage.GetFullList();

            return(View(model));
        }
示例#2
0
 public IActionResult Create()
 {
     ViewBag.Buyers    = _buyerStorage.GetFullList();
     ViewBag.Employees = _employeeStorage.GetFullList();
     return(View());
 }