public async Task <ActionResult <bool> > Delete(int id) { var response = await _service.Delete(id); if (response == false) { return(NoContent()); } return(Ok(response)); }
public Model.Rezervacija Delete(int id) { return(_service.Delete(id)); }
public void Delete(string id) { rezervacijaService.Delete(id); }
public void Delete(int id) { _service.Delete(id); }