feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -8,9 +8,9 @@ using PARR.API.Contracts.V1.Responses;
|
||||
using PARR.API.Contracts.V1.Responses.Base;
|
||||
using PARR.API.Controllers.V1.Base;
|
||||
using PARR.API.Services.Interfaces;
|
||||
using PARR.DAL.Models;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
using PARR.Core.Repositories.Interfaces;
|
||||
using PARR.Domain.Common.Roles;
|
||||
using PARR.Domain.Entities;
|
||||
|
||||
namespace PARR.API.Controllers.V1
|
||||
{
|
||||
@@ -20,18 +20,18 @@ namespace PARR.API.Controllers.V1
|
||||
[Authorize(Roles = ParrRoles.Administrator.Role)]
|
||||
public class UserRoleController : BaseApiController
|
||||
{
|
||||
private readonly IUserService userService;
|
||||
private readonly IUserRepository userService;
|
||||
private readonly IMapper mapper;
|
||||
private readonly ILogger<UserRoleController> logger;
|
||||
private readonly IRoleService roleService;
|
||||
private readonly IRoleRepository roleService;
|
||||
private readonly IAuthService authService;
|
||||
private readonly IUriService uriService;
|
||||
|
||||
public UserRoleController(
|
||||
IUserService userService,
|
||||
IUserRepository userService,
|
||||
IMapper mapper,
|
||||
ILogger<UserRoleController> logger,
|
||||
IRoleService roleService,
|
||||
IRoleRepository roleService,
|
||||
IAuthService authService,
|
||||
IUriService uriService
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user