/// <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 SecurityDepositRepository, 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 SecurityDepositRepository(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, ILogger <LeaseRepository> logger, IMapper mapper) : base(dbContext, user, service, logger, mapper) { }
/// <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="user"></param> /// <param name="mapper"></param> /// <param name="logger"></param> public PimsKeycloakService(IKeycloakService keycloakService, IPimsRepository pimsRepository, ClaimsPrincipal user, IMapper mapper, ILogger <IPimsKeycloakService> logger) { _keycloakService = keycloakService; _pimsRepository = pimsRepository; _mapper = mapper; _user = user; _logger = logger; }
/// <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> /// <param name="mapper"></param> protected BaseRepository(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, ILogger <BaseRepository> logger, IMapper mapper) { this.Context = dbContext; this.User = user; this.Logger = logger; this.Self = service; this.Mapper = mapper; }
/// <summary> /// Creates a new instances of a SystemConstantController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsRepository"></param> /// <param name="mapper"></param> public SystemConstantController(IPimsRepository pimsRepository, IMapper mapper) { _pimsRepository = pimsRepository; _mapper = mapper; }
/// <summary> /// Creates a new instance of a OrganizationController class. /// </summary> /// <param name="pimsService"></param> /// <param name="keycloakService"></param> /// <param name="mapper"></param> public OrganizationController(IPimsRepository pimsService, IPimsKeycloakService keycloakService, IMapper mapper) { _pimsService = pimsService; _pimsKeycloakService = keycloakService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a ResearchFileRepository, 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 ResearchFileRepository(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, ILogger <ResearchFileRepository> logger, IMapper mapper) : base(dbContext, user, service, logger, mapper) { }
/// <summary> /// Creates a new instance of a RoleService, 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 RoleService(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, ILogger <RoleService> logger, IMapper mapper) : base(dbContext, user, service, logger, 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 LeaseTenantController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> /// public LeaseTenantController(IPimsRepository pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <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 <PimsOptions> pimsOptions, IPimsRepository pimsService, IMapper mapper) { _pimsOptions = pimsOptions.CurrentValue; _pimsService = pimsService; _mapper = mapper; }
/// <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, IPimsRepository pimsService) { _optionsKeycloak = optionsKeycloak.CurrentValue; _pimsService = pimsService; }
/// <summary> /// Creates a new instance of a AutocompleteController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> /// public AutocompleteController(IPimsRepository pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a SystemConstantService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="repository"></param> /// <param name="logger"></param> public SystemConstantService(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository repository, ILogger <SystemConstantService> logger, IMapper mapper) : base(dbContext, user, repository, logger, 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> /// <param name="mapper"></param> protected BaseRepository(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, ILogger <BaseRepository> logger, IMapper mapper) : base(dbContext, user, service, logger, mapper) { }
/// <summary> /// Creates a new instance of a OrganizationService, 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 OrganizationRepository(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, ILogger <OrganizationRepository> logger, IMapper mapper) : base(dbContext, user, service, logger, mapper) { }
/// <summary> /// Creates a new instance of a PropertyRepository, 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 PropertyRepository(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, ILogger <PropertyRepository> logger, IMapper mapper) : base(dbContext, user, service, logger, mapper) { }
/// <summary> /// Creates a new instance of a AutocompleteService, 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 AutocompleteService(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, ILogger <LookupService> logger, IMapper mapper) : base(dbContext, user, service, logger, mapper) { }
/// <summary> /// Creates a new instance of a InsuranceController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> /// public InsuranceController(IPimsRepository pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a AccessRequestController class. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> public AccessRequestController(IPimsRepository pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a AccessRequestService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="accessRequest"></param> /// <param name="service"></param> /// <param name="logger"></param> /// <returns></returns> public AccessRequestService(PimsContext dbContext, System.Security.Claims.ClaimsPrincipal user, ClaimsPrincipal accessRequest, IPimsRepository service, ILogger <AccessRequestService> logger, IMapper mapper) : base(dbContext, user, service, logger, mapper) { }
/// <summary> /// Creates a new instance of a UserService, and initializes it with the specified arguments. /// </summary> /// <param name="dbContext"></param> /// <param name="user"></param> /// <param name="service"></param> /// <param name="options"></param> /// <param name="logger"></param> /// <returns></returns> public UserService(PimsContext dbContext, ClaimsPrincipal user, IPimsRepository service, IOptionsMonitor <PimsOptions> options, ILogger <UserService> logger, IMapper mapper) : base(dbContext, user, service, logger, mapper) { _options = options.CurrentValue; }
/// <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(IPimsRepository pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }
/// <summary> /// Creates a new instance of a PropertyController class, initializes it with the specified arguments. /// </summary> /// <param name="pimsService"></param> /// <param name="mapper"></param> /// public PropertyController(IPimsRepository pimsService, IMapper mapper) { _pimsService = pimsService; _mapper = mapper; }