public ActionResult <string> Delete(int id) { try { return(Ok(_repo.Delete(id))); } catch (Exception e) { return(BadRequest(e)); } }
public void Delete(string kitchenName) { KitchenRepository.Delete(kitchenName); }