コード例 #1
0
 public SecurityService(
     IConfiguration configuration,
     AlohaContext dbContext)
 {
     this.configuration = configuration;
     this.dbContext     = dbContext;
 }
コード例 #2
0
 public UsersController(
     AlohaContext alohaContext,
     ISecurityService securityService,
     IClassMapping <User, UserDto> userToUserDtoMapping,
     IClassMapping <UserDto, User> userDtoToUserMapping)
 {
     this.alohaContext         = alohaContext;
     this.securityService      = securityService;
     this.userToUserDtoMapping = userToUserDtoMapping;
     this.userDtoToUserMapping = userDtoToUserMapping;
 }
コード例 #3
0
 public WorkstationsController(
     AlohaContext dbContext,
     IClassMapping <Workstation, WorkstationDto> workstationToWorkstationDtoMapping,
     IClassMapping <WorkstationDto, Workstation> workstationDtoToWorkstationMapping,
     IEntityUpdater <Workstation> workstationUpdater)
 {
     this.dbContext = dbContext;
     this.workstationToWorkstationDtoMapping = workstationToWorkstationDtoMapping;
     this.workstationDtoToWorkstationMapping = workstationDtoToWorkstationMapping;
     this.workstationUpdater = workstationUpdater;
 }
コード例 #4
0
 public OfficesController(
     AlohaContext dbContext,
     IClassMapping <Office, OfficeDto> officeToOfficeDtoMapping,
     IClassMapping <OfficeDto, Office> officeDtoToOfficeMapping,
     IClassMapping <Floor, FloorDto> floorToFloorDtoMapping,
     IEntityUpdater <Office> officeUpdater)
 {
     this.dbContext = dbContext;
     this.officeToOfficeDtoMapping = officeToOfficeDtoMapping;
     this.officeDtoToOfficeMapping = officeDtoToOfficeMapping;
     this.floorToFloorDtoMapping   = floorToFloorDtoMapping;
     this.officeUpdater            = officeUpdater;
 }
コード例 #5
0
 public WorkersController(
     AlohaContext alohaContext,
     IClassMapping <Worker, WorkerDto> workerToWorkerDtoMapping,
     IClassMapping <WorkerDto, Worker> workerDtoToWorkerMapping,
     IEntityUpdater <Worker> workerUpdater,
     ISecurityService securityService)
 {
     this.alohaContext             = alohaContext;
     this.workerToWorkerDtoMapping = workerToWorkerDtoMapping;
     this.workerDtoToWorkerMapping = workerDtoToWorkerMapping;
     this.workerUpdater            = workerUpdater;
     this.securityService          = securityService;
 }
コード例 #6
0
 public FloorsController(
     AlohaContext dbContext,
     IClassMapping <Floor, FloorDto> floorToFloorDtoMapping,
     IClassMapping <FloorDto, Floor> floorDtoToFloorMapping,
     IClassMapping <Workstation, WorkstationDto> workstationToWorkstationDtoMapping,
     IEntityUpdater <Floor> floorUpdater)
 {
     this.dbContext = dbContext;
     this.floorToFloorDtoMapping             = floorToFloorDtoMapping;
     this.floorDtoToFloorMapping             = floorDtoToFloorMapping;
     this.workstationToWorkstationDtoMapping = workstationToWorkstationDtoMapping;
     this.floorUpdater = floorUpdater;
 }
コード例 #7
0
 public FilesController(AlohaContext dbContext)
 {
     this.dbContext = dbContext;
 }
コード例 #8
0
 public SecurityController(AlohaContext alohaDbContext, ISecurityService securityService)
 {
     this.alohaDbContext  = alohaDbContext;
     this.securityService = securityService;
 }