feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -6,7 +6,7 @@ using PARR.API.Contracts.V1;
|
||||
using PARR.API.Contracts.V1.Responses;
|
||||
using PARR.API.Contracts.V1.Responses.Base;
|
||||
using PARR.API.Controllers.V1.Base;
|
||||
using PARR.DAL.Services.Interfaces.Unit;
|
||||
using PARR.Core.Repositories.Interfaces.Unit;
|
||||
using PARR.Domain.Common.Roles;
|
||||
|
||||
namespace PARR.API.Controllers.V1
|
||||
@@ -17,11 +17,11 @@ namespace PARR.API.Controllers.V1
|
||||
[Authorize(Roles = ParrRoles.Administrator.Role)]
|
||||
public class UnitFieldController : BaseApiController
|
||||
{
|
||||
private readonly IUnitFieldService unitFieldService;
|
||||
private readonly IUnitFieldRepository unitFieldService;
|
||||
private readonly IMapper mapper;
|
||||
|
||||
public UnitFieldController(
|
||||
IUnitFieldService unitFieldService,
|
||||
IUnitFieldRepository unitFieldService,
|
||||
IMapper mapper
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user