public async Task <ActionResult> Details(int id) { var model = await _assignmentService.GetAsync(id); return(View(model)); }