public ActionResult <Quest> Create([FromBody] Quest questData) { try { return(Ok(_qs.Create(questData))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult Create([FromBody] Quest q) { return(Ok(_service.Create(q))); }
public ActionResult <Quest> Create([FromBody] Quest questData) { try { return(Ok(_qs.Create(questData))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult Create([FromBody] Quest q) { return(Ok(_service.Create(q))); }