public ActionResult <Quest> Edit([FromBody] Quest update, int id) { try { update.Id = id; return(Ok(_qs.Edit(update))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <Quest> Edit([FromBody] Quest update, int id) { try { update.Id = id; return(Ok(_qs.Edit(update))); } catch (Exception e) { return(BadRequest(e.Message)); } }