예제 #1
0
 public async Task <IActionResult> GetNotes()
 {
     try
     {
         return(Ok(await _noteService.Get(GetUserId())));
     }
     catch
     {
         return(BadRequest());
     }
 }