public ActionResult <IEnumerable <Bug> > GetAllClosedBugs() { try { return(Ok(_bs.GetAllClosedBugs())); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <IEnumerable <Bug> > GetAllClosedBugs() { try { return(Ok(_bs.GetAllClosedBugs())); } catch (Exception e) { return(BadRequest(e.Message)); } }