Browse Source

Refactor ModelDTOs for a more consistent folder structure

pull/954/head
Miguel Veloso 6 years ago
parent
commit
2717659a0d
16 changed files with 16 additions and 16 deletions
  1. +1
    -1
      src/Services/Basket/Basket.FunctionalTests/BasketScenarios.cs
  2. +1
    -1
      src/Services/Ordering/Ordering.FunctionalTests/OrderingScenarios.cs
  3. +1
    -1
      src/Web/WebMVC/Controllers/CampaignsController.cs
  4. +1
    -1
      src/Web/WebMVC/Controllers/OrderManagementController.cs
  5. +1
    -1
      src/Web/WebMVC/Services/BasketService.cs
  6. +1
    -1
      src/Web/WebMVC/Services/IBasketService.cs
  7. +1
    -1
      src/Web/WebMVC/Services/ILocationService.cs
  8. +1
    -1
      src/Web/WebMVC/Services/IOrderingService.cs
  9. +1
    -1
      src/Web/WebMVC/Services/LocationService.cs
  10. +1
    -1
      src/Web/WebMVC/Services/ModelDTOs/BasketDTO.cs
  11. +1
    -1
      src/Web/WebMVC/Services/ModelDTOs/LocationDTO.cs
  12. +1
    -1
      src/Web/WebMVC/Services/ModelDTOs/OrderDTO.cs
  13. +1
    -1
      src/Web/WebMVC/Services/ModelDTOs/OrderProcessAction.cs
  14. +1
    -1
      src/Web/WebMVC/Services/OrderingService.cs
  15. +1
    -1
      src/Web/WebMVC/ViewModels/Order.cs
  16. +1
    -1
      test/ServicesTests/Application.FunctionalTests/Services/Ordering/OrderingScenarios.cs

+ 1
- 1
src/Services/Basket/Basket.FunctionalTests/BasketScenarios.cs View File

@ -5,7 +5,7 @@ using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using WebMVC.Models;
using WebMVC.ServicesModelDTOs;
using Xunit;
namespace Basket.FunctionalTests


+ 1
- 1
src/Services/Ordering/Ordering.FunctionalTests/OrderingScenarios.cs View File

@ -3,7 +3,7 @@ using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using WebMVC.Models;
using WebMVC.ServicesModelDTOs;
using Xunit;
namespace Ordering.FunctionalTests


+ 1
- 1
src/Web/WebMVC/Controllers/CampaignsController.cs View File

@ -2,7 +2,7 @@ namespace Microsoft.eShopOnContainers.WebMVC.Controllers
{
using AspNetCore.Authorization;
using AspNetCore.Mvc;
using global::WebMVC.Models;
using global::WebMVC.Services.ModelDTOs;
using global::WebMVC.Services;
using global::WebMVC.ViewModels;
using Microsoft.Extensions.Options;


+ 1
- 1
src/Web/WebMVC/Controllers/OrderManagementController.cs View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
using Microsoft.eShopOnContainers.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.ViewModels;
using Microsoft.AspNetCore.Authorization;


+ 1
- 1
src/Web/WebMVC/Services/BasketService.cs View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using WebMVC.Infrastructure;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
namespace Microsoft.eShopOnContainers.WebMVC.Services
{


+ 1
- 1
src/Web/WebMVC/Services/IBasketService.cs View File

@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
namespace Microsoft.eShopOnContainers.WebMVC.Services
{


+ 1
- 1
src/Web/WebMVC/Services/ILocationService.cs View File

@ -1,5 +1,5 @@
using System.Threading.Tasks;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
namespace WebMVC.Services
{


+ 1
- 1
src/Web/WebMVC/Services/IOrderingService.cs View File

@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
namespace Microsoft.eShopOnContainers.WebMVC.Services
{


+ 1
- 1
src/Web/WebMVC/Services/LocationService.cs View File

@ -6,7 +6,7 @@ using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using WebMVC.Infrastructure;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
namespace WebMVC.Services
{


src/Web/WebMVC/Models/BasketDTO.cs → src/Web/WebMVC/Services/ModelDTOs/BasketDTO.cs View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace WebMVC.Models
namespace WebMVC.Services.ModelDTOs
{
public class BasketDTO
{

src/Web/WebMVC/Models/LocationDTO.cs → src/Web/WebMVC/Services/ModelDTOs/LocationDTO.cs View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebMVC.Models
namespace WebMVC.Services.ModelDTOs
{
public class LocationDTO
{

src/Web/WebMVC/Models/OrderDTO.cs → src/Web/WebMVC/Services/ModelDTOs/OrderDTO.cs View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace WebMVC.Models
namespace WebMVC.Services.ModelDTOs
{
public class OrderDTO
{

src/Web/WebMVC/Models/OrderProcessAction.cs → src/Web/WebMVC/Services/ModelDTOs/OrderProcessAction.cs View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebMVC.Models
namespace WebMVC.Services.ModelDTOs
{
public class OrderProcessAction
{

+ 1
- 1
src/Web/WebMVC/Services/OrderingService.cs View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using WebMVC.Infrastructure;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
namespace Microsoft.eShopOnContainers.WebMVC.Services
{


+ 1
- 1
src/Web/WebMVC/ViewModels/Order.cs View File

@ -7,7 +7,7 @@ using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
namespace Microsoft.eShopOnContainers.WebMVC.ViewModels
{


+ 1
- 1
test/ServicesTests/Application.FunctionalTests/Services/Ordering/OrderingScenarios.cs View File

@ -9,7 +9,7 @@ using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using WebMVC.Models;
using WebMVC.Services.ModelDTOs;
using Xunit;
namespace FunctionalTests.Services.Ordering


Loading…
Cancel
Save