public async Task <WishlistBook> FindWishlistBookById(int id) { if (id < 0) { throw new Exception("Id cannot be less than 0"); } return(await _repository.FindByIdAsync(id)); }
public async Task <WishlistBook> FindWishlistBookById(int id) { if (id < 0) { throw new Exception("Id cannot be less than 0"); } return(await _repository.FindByIdAsync(id)); }