feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -8,12 +8,11 @@ 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.BLL.Helpers;
|
||||
using PARR.Core.Common.Helpers;
|
||||
using PARR.DAL.Models.Unit;
|
||||
using PARR.DAL.Services.Interfaces.Unit;
|
||||
using PARR.Core.Repositories.Interfaces.Unit;
|
||||
using PARR.Domain.Common.Pagination;
|
||||
using PARR.Domain.Common.Roles;
|
||||
using PARR.Domain.Entities.Unit;
|
||||
|
||||
namespace PARR.API.Controllers.V1
|
||||
{
|
||||
@@ -21,11 +20,11 @@ namespace PARR.API.Controllers.V1
|
||||
public class UnitController : BaseApiController
|
||||
{
|
||||
private readonly IMapper mapper;
|
||||
private readonly IUnitService unitService;
|
||||
private readonly IUnitRepository unitService;
|
||||
|
||||
public UnitController(
|
||||
IMapper mapper,
|
||||
IUnitService unitService
|
||||
IUnitRepository unitService
|
||||
)
|
||||
{
|
||||
this.mapper = mapper;
|
||||
|
||||
Reference in New Issue
Block a user