feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -8,10 +8,10 @@ using PARR.API.Contracts.V1.Responses;
|
||||
using PARR.API.Contracts.V1.Responses.Base;
|
||||
using PARR.API.Controllers.V1.Base;
|
||||
using PARR.API.Extensions;
|
||||
using PARR.DAL.Models;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
using PARR.Core.Repositories.Interfaces;
|
||||
using PARR.Domain.Common.Pagination;
|
||||
using PARR.Domain.Common.Roles;
|
||||
using PARR.Domain.Entities;
|
||||
|
||||
namespace PARR.API.Controllers.V1
|
||||
{
|
||||
@@ -22,11 +22,11 @@ namespace PARR.API.Controllers.V1
|
||||
public class OrderController : BaseApiController
|
||||
{
|
||||
private readonly IMapper mapper;
|
||||
private readonly IOrderService orderService;
|
||||
private readonly IOrderRepository orderService;
|
||||
|
||||
public OrderController(
|
||||
IMapper mapper,
|
||||
IOrderService orderService
|
||||
IOrderRepository orderService
|
||||
)
|
||||
{
|
||||
this.mapper = mapper;
|
||||
|
||||
Reference in New Issue
Block a user