feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -8,8 +8,8 @@ using PARR.API.Contracts.V1.Responses;
|
||||
using PARR.API.Contracts.V1.Responses.Base;
|
||||
using PARR.API.Contracts.V1.Responses.Statistics;
|
||||
using PARR.API.Controllers.V1.Base;
|
||||
using PARR.Core.Repositories.Interfaces;
|
||||
using PARR.DAL.Contracts;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
using PARR.Domain.Common.Roles;
|
||||
using PARR.Domain.Enums;
|
||||
|
||||
@@ -21,17 +21,17 @@ namespace PARR.API.Controllers.V1.Statistics
|
||||
[Authorize(Roles = ParrRoles.Administrator.Role)]
|
||||
public class StatRobotTaskController : BaseApiController
|
||||
{
|
||||
private readonly IRobotService robotService;
|
||||
private readonly IRobotConfigurationService robotConfigurationService;
|
||||
private readonly ITaskStatusService taskStatusService;
|
||||
private readonly IRobotHistoryService robotHistoryService;
|
||||
private readonly IRobotRepository robotService;
|
||||
private readonly IRobotConfigurationRepository robotConfigurationService;
|
||||
private readonly ITaskStatusRepository taskStatusService;
|
||||
private readonly IRobotHistoryRepository robotHistoryService;
|
||||
private readonly IMapper mapper;
|
||||
|
||||
public StatRobotTaskController(
|
||||
IRobotService robotService,
|
||||
IRobotConfigurationService robotConfigurationService,
|
||||
ITaskStatusService taskStatusService,
|
||||
IRobotHistoryService robotHistoryService,
|
||||
IRobotRepository robotService,
|
||||
IRobotConfigurationRepository robotConfigurationService,
|
||||
ITaskStatusRepository taskStatusService,
|
||||
IRobotHistoryRepository robotHistoryService,
|
||||
IMapper mapper
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user