Ejemplo n.º 1
0
 public UserController(UserRepository userRepo, IMapper mapper, AuthenticationRepository authenticationRepo, UserRoleRepository userRoleRepo, RoleRepository roleRepo, UserService userService, FileHelper fileHelper, RolePermissionMapRepository rolePermissionMapRepo, AuthenticationService authenticationService, PaginatedMetaService paginatedMetaService) : base()
 {
     _userRepo              = userRepo;
     _mapper                = mapper;
     _authenticationRepo    = authenticationRepo;
     _userRoleRepo          = userRoleRepo;
     _roleRepo              = roleRepo;
     _userService           = userService;
     _fileHelper            = fileHelper;
     _rolePermissionMapRepo = rolePermissionMapRepo;
     _authenticationService = authenticationService;
     _paginatedMetaService  = paginatedMetaService;
 }
 public RolePermissionMapServiceImpl(RolePermissionMapRepository rolePermissionMapRepo, RoleRepository roleRepo, TransactionManager transactionManager)
 {
     _rolePermissionMapRepo = rolePermissionMapRepo;
     _roleRepo           = roleRepo;
     _transactionManager = transactionManager;
 }