コード例 #1
0
 public ActionResult <List <BugNote> > GetNotes(string id)
 {
     try
     {
         List <BugNote> bugnotes = _bs.GetBugNotesById(id);
         return(Ok(bugnotes));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }