feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -11,11 +11,11 @@ using PARR.API.Contracts.V1.Responses.Base;
|
||||
using PARR.API.Controllers.V1.Base;
|
||||
using PARR.API.Extensions;
|
||||
using PARR.API.Services.Interfaces;
|
||||
using PARR.DAL.Models;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
using PARR.DAL.Services.Interfaces.Unit;
|
||||
using PARR.Core.Repositories.Interfaces;
|
||||
using PARR.Core.Repositories.Interfaces.Unit;
|
||||
using PARR.Domain.Common.Pagination;
|
||||
using PARR.Domain.Common.Roles;
|
||||
using PARR.Domain.Entities;
|
||||
|
||||
namespace PARR.API.Controllers.V1
|
||||
{
|
||||
@@ -25,22 +25,22 @@ namespace PARR.API.Controllers.V1
|
||||
public class AgentHistoryController : BaseApiController
|
||||
{
|
||||
private readonly IValidator<AgentHistoryRequest> validator;
|
||||
private readonly IAgentHistoryService agentHistoryService;
|
||||
private readonly IAgentHistoryRepository agentHistoryService;
|
||||
private readonly IUriService uriService;
|
||||
private readonly IMapper mapper;
|
||||
private readonly ITemplateService templateService;
|
||||
private readonly ITemplateRepository templateService;
|
||||
private readonly IClientService clientService;
|
||||
private readonly IUnitService unitService;
|
||||
private readonly IUnitRepository unitService;
|
||||
private readonly ILogger<AgentHistoryController> logger;
|
||||
|
||||
public AgentHistoryController(
|
||||
IValidator<AgentHistoryRequest> validator,
|
||||
IAgentHistoryService agentHistoryService,
|
||||
IAgentHistoryRepository agentHistoryService,
|
||||
IUriService uriService,
|
||||
IMapper mapper,
|
||||
ITemplateService templateService,
|
||||
ITemplateRepository templateService,
|
||||
IClientService clientService,
|
||||
IUnitService unitService,
|
||||
IUnitRepository unitService,
|
||||
ILogger<AgentHistoryController> logger
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user