public ResponseBase Delete(int bookCod) { ResponseBase response = new ResponseBase(); try { response.Success = _appService.Delete(bookCod); } catch (LibraryException ex) { response.Message = ex.Message; } catch (Exception ex) { throw ex; } return(response); }
public void Delete(int id) { _bookService.Delete(id); }
public IActionResult Delete(Guid id) { _bookAppService.Delete(id); return(Ok()); }
public Task Delete(List <Guid> ids) { return(_BookAppService.Delete(ids)); }