public ActionResult <IEnumerable <Quest> > GetQuests(int id) { try { return(Ok(_qs.GetByKnightId(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <IEnumerable <Quest> > GetQuests(int id) { try { return(Ok(_qs.GetByKnightId(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }