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