public ClientsForAdminCsvPublishService(CloudBlobClient blobClient,
     IAdminClientService adminClientService,
     IMapper mapper) : base(blobClient, new ClientForAdminCsvFormatter())
 {
     _adminClientService = adminClientService;
     _mapper = mapper;
 }
 public ClientsForAdminCsvPublishService(CloudBlobClient blobClient,
                                         IAdminClientService adminClientService,
                                         IMapper mapper) : base(blobClient, new ClientForAdminCsvFormatter())
 {
     _adminClientService = adminClientService;
     _mapper             = mapper;
 }
 public AdminClientsController(IAdminClientService adminClientService,
                               IMapper mapper,
                               ICsvPublishServiceFactory csvPublishServiceFactory)
 {
     _adminClientService       = adminClientService;
     _mapper                   = mapper;
     _csvPublishServiceFactory = csvPublishServiceFactory;
 }
 public AdminClientsController(IAdminClientService adminClientService,
     IMapper mapper,
     ICsvPublishServiceFactory csvPublishServiceFactory)
 {
     _adminClientService = adminClientService;
     _mapper = mapper;
     _csvPublishServiceFactory = csvPublishServiceFactory;
 }
示例#5
0
 public CsvPublishServiceFactory(CloudBlobClient blobClient,
                                 IMapper mapper,
                                 IAdminUserService adminUserService,
                                 IAdminProjectService adminProjectService,
                                 IAdminClientService adminClientService)
 {
     _services = new Dictionary <Type, ICsvPublishService>
     {
         { typeof(AdminUser), new UsersForAdminCsvPublishService(blobClient, adminUserService, mapper) },
         { typeof(AdminProject), new ProjectsForAdminCsvPublishService(blobClient, adminProjectService, mapper) },
         { typeof(AdminClient), new ClientsForAdminCsvPublishService(blobClient, adminClientService, mapper) }
     };
 }