public IActionResult DeleteKnifeStore(string id) { try { knifeStoreLogic.DeleteKesBolt(id); return(Ok()); } catch (Exception ex) { return(StatusCode(400, $"Bad request error: {ex}")); } }
//KesBolt Törlés public IActionResult DeleteKesBolt(string id) { KnifeStoreLogic.DeleteKesBolt(id); return(RedirectToAction(nameof(ListKesBolt))); }