public IActionResult Delete(int id) { bool result = _repository.DeleteShop(id); if (result) { return(Ok()); } else { return(NotFound()); } }
public IActionResult Delete(int id) { bool result = _repository.DeleteShop(id); if (result) { return(Ok()); } else { return(NotFound()); } }