public RolesService(IRoleRepository roleRepository, ICorporationUserRepository corporationUserRepository, IPersonalUserRepository personalUserRepository,
                     RoleManager <AccountRole> roleManager)
 {
     _roleRepository            = roleRepository;
     _roleManager               = roleManager;
     _personalUserRepository    = personalUserRepository;
     _corporationUserRepository = corporationUserRepository;
 }
 public PersonalUsersService(IMapper mapper, IPersonalUserRepository personalUserRepository, IRoleRepository roleRepository, ICityRepository cityRepository,
                             ICorporationUserRepository corporationUserRepository, UserManager <AccountInfo> userManager)
 {
     _personalUserRepository    = personalUserRepository;
     _corporationUserRepository = corporationUserRepository;
     _cityRepository            = cityRepository;
     _roleRepository            = roleRepository;
     _userManager = userManager;
     _mapper      = mapper;
 }
Exemplo n.º 3
0
 public CitiesService(ICityRepository cityRepository, ICorporationUserRepository corporationUserRepository, IPersonalUserRepository personalUserRepository)
 {
     _cityRepository            = cityRepository;
     _corporationUserRepository = corporationUserRepository;
     _personalUserRepository    = personalUserRepository;
 }
Exemplo n.º 4
0
 public CountryService(ICountryRepository countryRepository, ICorporationUserRepository corporationUserRepository, IPersonalUserRepository personalUserRepository)
 {
     _countryRepository         = countryRepository;
     _corporationUserRepository = corporationUserRepository;
     _personalUserRepository    = personalUserRepository;
 }