public ActionResult <string> Delete(int id) { try { return(Ok(_JobsRepo.DeleteById(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <string> Delete(int id) { try { return(Ok(_JobsRepo.DeleteById(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }