예제 #1
0
 public async Task <IActionResult> CreateAsAdmin()
 {
     ViewData["Freight"] = new SelectList(await _repoX.Items(), "FreightId", "FreightSummary");
     return(View());
 }
예제 #2
0
 public async Task <IActionResult> Index()
 {
     return(View(await _repo.Items()));
 }
예제 #3
0
 public async Task <IActionResult> MyFreights()
 {
     return(View(await _repo.Items()));
 }