Update to latest Endpoints package and fix breaking changes (#506)

This commit is contained in:
Steve Smith
2021-02-13 10:50:31 -05:00
committed by GitHub
parent 5aa3993c84
commit ba9aea29bd
11 changed files with 56 additions and 39 deletions

View File

@@ -10,7 +10,9 @@ using System.Threading.Tasks;
namespace Microsoft.eShopWeb.PublicApi.CatalogBrandEndpoints
{
public class List : BaseAsyncEndpoint<ListCatalogBrandsResponse>
public class List : BaseAsyncEndpoint
.WithoutRequest
.WithResponse<ListCatalogBrandsResponse>
{
private readonly IAsyncRepository<CatalogBrand> _catalogBrandRepository;
private readonly IMapper _mapper;