- Removed redundant attributes when the controllers already specifies what the result type is. - Use StatusCodes instead of HttpStatusCode. - Clean up namespaces and use type aliases to disambiguate the many DTOs defined.
25 lines
1.0 KiB
C#
25 lines
1.0 KiB
C#
global using CatalogApi;
|
|
global using Grpc.Core.Interceptors;
|
|
global using Grpc.Core;
|
|
global using GrpcBasket;
|
|
global using Microsoft.AspNetCore.Authorization;
|
|
global using Microsoft.AspNetCore.Builder;
|
|
global using Microsoft.AspNetCore.Http;
|
|
global using Microsoft.AspNetCore.Mvc;
|
|
global using Microsoft.eShopOnContainers.Mobile.Shopping.HttpAggregator.Config;
|
|
global using Microsoft.eShopOnContainers.Mobile.Shopping.HttpAggregator.Infrastructure;
|
|
global using Microsoft.eShopOnContainers.Mobile.Shopping.HttpAggregator.Models;
|
|
global using Microsoft.eShopOnContainers.Mobile.Shopping.HttpAggregator.Services;
|
|
global using Microsoft.Extensions.Configuration;
|
|
global using Microsoft.Extensions.DependencyInjection;
|
|
global using Microsoft.Extensions.Logging;
|
|
global using Microsoft.Extensions.Options;
|
|
global using System.Collections.Generic;
|
|
global using System.Linq;
|
|
global using System.Net.Http;
|
|
global using System.Net;
|
|
global using System.Text.Json;
|
|
global using System.Threading.Tasks;
|
|
global using System;
|
|
global using Services.Common;
|