示例#1
0
 public AnnualReportController(ILoggerService <AnnualReportController> loggerService, IMapper mapper, IAnnualReportService annualReportService, ICityAccessService cityAccessService,
                               ICityMembersService cityMembersService, ICityService cityService)
 {
     _loggerService       = loggerService;
     _mapper              = mapper;
     _annualReportService = annualReportService;
     _cityAccessService   = cityAccessService;
     _cityMembersService  = cityMembersService;
     _cityService         = cityService;
 }
示例#2
0
 public CityController(ILoggerService <CityController> logger,
                       ICityService cityService,
                       ICityMembersService cityMembersService,
                       IMapper mapper)
 {
     _logger             = logger;
     _cityService        = cityService;
     _cityMembersService = cityMembersService;
     _mapper             = mapper;
 }
示例#3
0
 public AdminService(IRepositoryWrapper repoWrapper,
                     UserManager <User> userManager,
                     IMapper mapper,
                     RoleManager <IdentityRole> roleManager,
                     ICityMembersService cityMembers,
                     IClubParticipantsService clubParticipants,
                     IRegionAdministrationService regionService)
 {
     _repoWrapper      = repoWrapper;
     _userManager      = userManager;
     _mapper           = mapper;
     _roleManager      = roleManager;
     _cityMembers      = cityMembers;
     _clubParticipants = clubParticipants;
     _regionService    = regionService;
 }
示例#4
0
 public CitiesController(ILoggerService <CitiesController> logger,
                         IMapper mapper,
                         ICityService cityService,
                         ICityMembersService cityMembersService,
                         ICityAdministrationService cityAdministrationService,
                         ICityDocumentsService cityDocumentsService,
                         ICityAccessService cityAccessService)
 {
     _logger                    = logger;
     _mapper                    = mapper;
     _cityService               = cityService;
     _cityMembersService        = cityMembersService;
     _cityAdministrationService = cityAdministrationService;
     _cityDocumentsService      = cityDocumentsService;
     _cityAccessService         = cityAccessService;
 }
示例#5
0
 public CityMembersServiceTests()
 {
     _cityMembersService = new CityMembersService(_repositoryWrapper.Object, _mapper.Object, null, null);
 }