Standardize namespaces to all be under the Microsoft.eShopOnWeb namespace and update default namespaces. (#102)

This commit is contained in:
Jeremy Hutchinson
2018-06-05 08:52:54 -04:00
committed by Steve Smith
parent 8bf2a7ade1
commit f953495e38
136 changed files with 342 additions and 335 deletions

View File

@@ -1,15 +1,14 @@
using ApplicationCore.Interfaces;
using Infrastructure.Identity;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.eShopWeb.Infrastructure.Identity;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopWeb.ViewModels.Account;
using Microsoft.eShopWeb.Web.ViewModels.Account;
using System;
using System.Threading.Tasks;
using Web.ViewModels.Account;
namespace Microsoft.eShopWeb.Controllers
namespace Microsoft.eShopWeb.Web.Controllers
{
[Route("[controller]/[action]")]

View File

@@ -1,8 +1,8 @@
using Microsoft.eShopWeb.Services;
using Microsoft.eShopWeb.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace Microsoft.eShopWeb.Controllers.Api
namespace Microsoft.eShopWeb.Web.Controllers.Api
{
[Route("api/[controller]/[action]")]
public class BaseApiController : Controller

View File

@@ -1,8 +1,8 @@
using Microsoft.eShopWeb.Services;
using Microsoft.eShopWeb.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace Microsoft.eShopWeb.Controllers.Api
namespace Microsoft.eShopWeb.Web.Controllers.Api
{
public class CatalogController : BaseApiController
{

View File

@@ -1,17 +1,17 @@
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using ApplicationCore.Interfaces;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.eShopWeb.ViewModels;
using Microsoft.eShopWeb.Web.ViewModels;
using Microsoft.AspNetCore.Identity;
using Infrastructure.Identity;
using Microsoft.eShopWeb.Infrastructure.Identity;
using System;
using System.Collections.Generic;
using ApplicationCore.Entities.OrderAggregate;
using Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate;
using Microsoft.AspNetCore.Authorization;
using Microsoft.eShopWeb.Interfaces;
using Microsoft.eShopWeb.Web.Interfaces;
namespace Microsoft.eShopWeb.Controllers
namespace Microsoft.eShopWeb.Web.Controllers
{
[Route("[controller]/[action]")]
public class BasketController : Controller

View File

@@ -1,8 +1,8 @@
using Microsoft.eShopWeb.Services;
using Microsoft.eShopWeb.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace Microsoft.eShopWeb.Controllers
namespace Microsoft.eShopWeb.Web.Controllers
{
[Route("")]
public class CatalogController : Controller

View File

@@ -1,18 +1,18 @@
using ApplicationCore.Interfaces;
using Infrastructure.Identity;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.eShopWeb.Infrastructure.Identity;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopWeb.ViewModels.Manage;
using Microsoft.eShopWeb.Services;
using Microsoft.eShopWeb.Web.ViewModels.Manage;
using Microsoft.eShopWeb.Web.Services;
using System;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
namespace Microsoft.eShopWeb.Controllers
namespace Microsoft.eShopWeb.Web.Controllers
{
[Authorize]
[Route("[controller]/[action]")]

View File

@@ -1,14 +1,14 @@
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.eShopWeb.ViewModels;
using Microsoft.eShopWeb.Web.ViewModels;
using System;
using ApplicationCore.Entities.OrderAggregate;
using ApplicationCore.Interfaces;
using Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using System.Linq;
using ApplicationCore.Specifications;
using Microsoft.eShopWeb.ApplicationCore.Specifications;
namespace Microsoft.eShopWeb.Controllers
namespace Microsoft.eShopWeb.Web.Controllers
{
[Authorize]
[Route("[controller]/[action]")]