コード例 #1
0
 public ActionResult <IEnumerable <Bug> > GetAllClosedBugs()
 {
     try
     {
         return(Ok(_bs.GetAllClosedBugs()));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }