public SecurityService( IConfiguration configuration, AlohaContext dbContext) { this.configuration = configuration; this.dbContext = dbContext; }
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; }
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; }
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; }
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; }
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; }
public FilesController(AlohaContext dbContext) { this.dbContext = dbContext; }
public SecurityController(AlohaContext alohaDbContext, ISecurityService securityService) { this.alohaDbContext = alohaDbContext; this.securityService = securityService; }