/// <summary> /// Creates a new instance of a ReportController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="pimsRepository"></param> /// <param name="webHostEnvironment"></param> /// <param name="mapper"></param> public LeaseController(IPimsRepository pimsRepository, IPimsService pimsService, IWebHostEnvironment webHostEnvironment, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; _webHostEnvironment = webHostEnvironment; _pimsRepository = pimsRepository; }
/// <summary> /// Creates a new instance of a DisposeController class, initializes it with the specified arguments. /// </summary> /// <param name="options"></param> /// <param name="pimsService"></param> /// <param name="notifyService"></param> /// <param name="mapper"></param> public DisposeController(IOptionsMonitor <PimsOptions> options, IPimsService pimsService, INotificationService notifyService, IMapper mapper) { _options = options.CurrentValue; _pimsService = pimsService; _notifyService = notifyService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a ImportController class. /// </summary> /// <param name="logger"></param> /// <param name="pimsService"></param> /// <param name="pimsAdminService"></param> /// <param name="mapper"></param> public ImportController(ILogger <ImportController> logger, IPimsService pimsService, IPimsAdminService pimsAdminService, IMapper mapper) { _logger = logger; _pimsService = pimsService; _pimsAdminService = pimsAdminService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a BaseService class, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="logger"></param> public BaseService(PimsContext dbContext, ClaimsPrincipal user, IPimsService service, ILogger <BaseService> logger) { this.Context = dbContext; this.User = user; this.Logger = logger; this.Self = service; }
/// <summary> /// Creates a new instance of a PimsKeycloakService object, initializes with the specified arguments. /// </summary> /// <param name="keycloakService"></param> /// <param name="pimsService"></param> /// <param name="pimsAdminService"></param> /// <param name="mapper"></param> public PimsKeycloakService(IKeycloakService keycloakService, IPimsService pimsService, IPimsAdminService pimsAdminService, IMapper mapper, ClaimsPrincipal user) { _keycloakService = keycloakService; _pimsService = pimsService; _pimsAdminService = pimsAdminService; _mapper = mapper; _user = user; }
/// <summary> /// Creates a new instance of a ImportController class. /// </summary> /// <param name="logger"></param> /// <param name="pimsService"></param> /// <param name="pimsAdminService"></param> /// <param name="mapper"></param> /// <param name="serializerOptions"></param> public ImportController(ILogger <ImportController> logger, IPimsService pimsService, IPimsAdminService pimsAdminService, IMapper mapper, IOptions <JsonSerializerOptions> serializerOptions) { _logger = logger; _pimsService = pimsService; _pimsAdminService = pimsAdminService; _mapper = mapper; _serializerOptions = serializerOptions; }
/// <summary> /// Creates a new instance of a UserController class. /// </summary> /// <param name="logger"></param> /// <param name="optionsKeycloak"></param> /// <param name="options"></param> /// <param name="pimsService"></param> /// <param name="mapper"></param> /// <param name="requestClient"></param> public UserController(ILogger <UserController> logger, IOptionsMonitor <Keycloak.Configuration.KeycloakOptions> optionsKeycloak, IOptions <PimsOptions> options, IPimsService pimsService, IMapper mapper, IProxyRequestClient requestClient) { _logger = logger; _optionsKeycloak = optionsKeycloak.CurrentValue; _requestClient = requestClient; _pimsService = pimsService; _mapper = mapper; _options = options.Value; }
/// <summary> /// Creates a new instance of a ImportProjectsHelper, initializes with specified arguments. /// </summary> /// <param name="service"></param> /// <param name="adminService"></param> /// <param name="logger"></param> public ImportProjectsHelper(IPimsService service, IPimsAdminService adminService, ILogger logger) { _service = service; _adminService = adminService; _logger = logger; _workflows = adminService.Workflow.GetAll().ToArray(); _status = adminService.ProjectStatus.GetAll().ToArray(); _risks = adminService.ProjectRisk.GetAll().ToArray(); _agencies = adminService.Agency.GetAll().ToArray(); _tiers = adminService.TierLevel.GetAll().ToArray(); }
/// <summary> /// Creates a new instance of a WorkflowController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> public WorkflowController(IPimsService pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a ProjectService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="notifyService"></param> /// <param name="options"></param> /// <param name="logger"></param> public ProjectService(PimsContext dbContext, ClaimsPrincipal user, IPimsService service, INotificationService notifyService, IOptions <PimsOptions> options, ILogger <ProjectService> logger) : base(dbContext, user, service, logger) { _options = options.Value; _notifyService = notifyService; }
/// <summary> /// Creates a new instance of a NotificationTemplateService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="notifyService"></param> /// <param name="logger"></param> public NotificationTemplateService(PimsContext dbContext, ClaimsPrincipal user, IPimsService service, INotificationService notifyService, ILogger <TaskService> logger) : base(dbContext, user, service, logger) { _notifyService = notifyService; }
/// <summary> /// Creates a new instance of a ProjectStatusService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="logger"></param> public ProjectStatusService(PimsContext dbContext, ClaimsPrincipal user, IPimsService service, ILogger <ProjectStatusService> logger) : base(dbContext, user, service, logger) { }
/// <summary> /// Creates a new instance of a SecurityDepositController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> /// public SecurityDepositController(IPimsService pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a BuildingService class, and initializes it with the specified arguments. /// </summary> /// <param name="options"></param> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="logger"></param> public BuildingService(IOptions <PimsOptions> options, PimsContext dbContext, ClaimsPrincipal user, IPimsService service, ILogger <BuildingService> logger) : base(dbContext, user, service, logger) { _options = options.Value; }
/// <summary> /// Creates a new instance of a AuthController class, initializes it with the specified arguments. /// </summary> /// <param name="optionsKeycloak"></param> /// <param name="pimsService"></param> public AuthController(IOptionsMonitor <Keycloak.Configuration.KeycloakOptions> optionsKeycloak, IPimsService pimsService) { _optionsKeycloak = optionsKeycloak.CurrentValue; _pimsService = pimsService; }
/// <summary> /// Creates a new instance of a TenantController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsOptions"></param> /// <param name="pimsService"></param> /// <param name="mapper"></param> public TenantController(IOptionsMonitor <Pims.Dal.PimsOptions> pimsOptions, IPimsService pimsService, IMapper mapper) { _pimsOptions = pimsOptions.CurrentValue; _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a ClaimService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="logger"></param> public ClaimService(PimsContext dbContext, System.Security.Claims.ClaimsPrincipal user, IPimsService service, ILogger <ClaimService> logger) : base(dbContext, user, service, logger) { }
/// <summary> /// Creates a new instance of a AdministrativeAreaService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="logger"></param> public AdministrativeAreaService(PimsContext dbContext, ClaimsPrincipal user, IPimsService service, ILogger <AdministrativeAreaService> logger) : base(dbContext, user, service, logger) { }
/// <summary> /// Creates a new instance of a LookupController class. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> public LookupController(IPimsService pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a WorkflowService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="logger"></param> public WorkflowService(PimsContext dbContext, ClaimsPrincipal user, IPimsService service, ILogger <TaskService> logger) : base(dbContext, user, service, logger) { }
/// <summary> /// Creates a new instance of a ReportController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> public ProjectController(IPimsService pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a ResearchFileController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> /// public ResearchFileController(IPimsService pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a SearchController(Research) class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> /// public SearchController(IPimsService pimsService, IMapper mapper) { this.pimsService = pimsService; this.mapper = mapper; }
/// <summary> /// Creates a new instance of a SearchController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> public SearchController(IPimsService pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a ParcelController class. /// </summary> /// <param name="logger"></param> /// <param name="pimsService"></param> /// <param name="mapper"></param> public ParcelController(ILogger <ParcelController> logger, IPimsService pimsService, IMapper mapper) { _logger = logger; _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a BuildingController class. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> public BuildingController(IPimsService pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a DisposeController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="notifyService"></param> /// <param name="mapper"></param> public DisposeController(IPimsService pimsService, INotificationService notifyService, IMapper mapper) { _pimsService = pimsService; _notifyService = notifyService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a PersonController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="pimsRepository"></param> /// <param name="mapper"></param> /// public PersonController(IPimsService pimsService, IPimsRepository pimsRepository, IMapper mapper) { _pimsService = pimsService; _pimsRepository = pimsRepository; _mapper = mapper; }
/// <summary> /// Creates a new instance of a BaseService class, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="logger"></param> public BaseService(PimsContext dbContext, ClaimsPrincipal user, IPimsService service, ILogger <BaseService> logger) : base(dbContext, user, service, logger) { }
/// <summary> /// Creates a new instance of a TemplateController class, initializes it with the specified arguments. /// </summary> /// <param name="options"></param> /// <param name="pimsService"></param> /// <param name="mapper"></param> public TemplateController(IOptions <PimsOptions> options, IPimsService pimsService, IMapper mapper) { _options = options.Value; _pimsService = pimsService; _mapper = mapper; }