Esempio n. 1
0
 public async Task <IActionResult> Get(int Id) => Ok(await _repo.spGetOneExampleAsync(Id).ConfigureAwait(false));
Esempio n. 2
0
 // GET: Example/Details/5
 public async Task <ActionResult> Details(int id)
 {
     return(View(await _repo.spGetOneExampleAsync(id)));
 }