net6conversion (#642)
* Converting to net6 startup and integration test formats * Update to minimal api and using pagetitle * Adjust functional test fixtures Update ApiEndpoints package version * Finish migration to minimal api startup
This commit is contained in:
@@ -10,9 +10,9 @@ using Swashbuckle.AspNetCore.Annotations;
|
||||
|
||||
namespace Microsoft.eShopWeb.PublicApi.CatalogBrandEndpoints;
|
||||
|
||||
public class List : BaseAsyncEndpoint
|
||||
public class List : EndpointBaseAsync
|
||||
.WithoutRequest
|
||||
.WithResponse<ListCatalogBrandsResponse>
|
||||
.WithActionResult<ListCatalogBrandsResponse>
|
||||
{
|
||||
private readonly IRepository<CatalogBrand> _catalogBrandRepository;
|
||||
private readonly IMapper _mapper;
|
||||
|
||||
Reference in New Issue
Block a user