// delete shelf public override Task <Empty> DeleteShelf(DeleteShelfRequest request, ServerCallContext context) { _shelfBookRepository.DeleteShelf(request.Shelf); return(Task.FromResult(new Empty())); }
public IActionResult DeleteShelf(long shelfId) { _shelfBookRepository.DeleteShelf(shelfId); return(NoContent()); }