public ActionResult <Keep> DeleteKeepById(int id) { try { return(Ok(_repository.DeleteKeepById(id))); // return Ok("Keep Destoryed!"); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <Keep> DeleteKeepById(int id) { try { return(Ok(_repository.DeleteKeepById(id))); // return Ok("Keep Destoryed!"); } catch (Exception e) { return(BadRequest(e.Message)); } }