public async Task <IActionResult> DivisionDetails(int?id) { if (id == null) { return(NotFound()); } var division = await _wpbService.GetDivisionAsync(id); if (division == null) { return(NotFound()); } return(View(division)); }
public async Task <IActionResult> DivisionDetails(int?id) { if (id == null) { return(NotFound()); } var division = await _wpbService.GetDivisionAsync(id); if (division == null) { return(NotFound()); } return(View(division)); }