public async Task <IViewComponentResult> InvokeAsync(int id) { var errandDetail = await repository.GetErrand(id); return(View("Errand", errandDetail)); }
public async Task <IViewComponentResult> InvokeAsync(int id) { var errandDetail = await repository.GetErrand(id); return(View("Errand", errandDetail)); }