public ResourceService(IResourceRepository resourceRepository, IResourceTypeRepository resourceTypeRepository, IResourceParameterValueRepository resourceParameterValueRepository) { _resourceRepository = resourceRepository; _resourceTypeRepository = resourceTypeRepository; _resourceParameterValueRepository = resourceParameterValueRepository; }
public ResourceTypeService(IResourceTypeRepository resourceTypeRepository, IResourceCategoryRepository resourceCategoryRepository, IResourceParameterRepository resourceParameterRepository) { _resourceTypeRepository = resourceTypeRepository; _resourceCategoryRepository = resourceCategoryRepository; _resourceParameterRepository = resourceParameterRepository; }
public DbInitializer(UserManager <User> userManager, RoleManager <IdentityRole> roleManager, ICompanyRepository companyRepo, IVehicleRepository vehicleRepo, IResourceTypeRepository resourceTypeRepo, IItemRepository itemRepo) { _userManager = userManager; _roleManager = roleManager; _companyRepo = companyRepo; _vehicleRepo = vehicleRepo; _resourceTypeRepo = resourceTypeRepo; _itemRepo = itemRepo; }
public ResourceService( EFDbContext context, IResourceRepository resourceRepository, IResourceTypeRepository resourceTypeRepository, ICubicleRepository cubicleRepository) { _context = context; _resourceRepository = resourceRepository; _resourceTypeRepository = resourceTypeRepository; this.cubicleRepository = cubicleRepository; }
public GetFileInfoCommand( ICommandRequest commandRequest, IResourceTypeRepository resourceTypeRepository, INodeFactory nodeFactory, INodeValidator nodeValidator) { _commandRequest = commandRequest; _resourceTypeRepository = resourceTypeRepository; _nodeFactory = nodeFactory; _nodeValidator = nodeValidator; }
public ResourceService(IResourceRepository resourceRepository , IResourceTypeRepository resourceTypeRepository , IBasicCrudService crudService , ILocationRepository locationRepository , ILocalizedMessagesService localizedMessagesService) { _resourceRepository = resourceRepository; _resourceTypeRepository = resourceTypeRepository; _crudService = crudService; _locationRepository = locationRepository; _localizedMessages = localizedMessagesService; }
public ResourceController(IResourceRepository _pgResource, IResourceTypeRepository _resourceTypeRepository, IElectronResourceTypeRepository _electronResourceTypeRepository, IHttpContextAccessor _httpContextAccessor) { pgResource = _pgResource; resourceTypeRepository = _resourceTypeRepository; electronResourceTypeRepository = _electronResourceTypeRepository; httpContextAccessor = _httpContextAccessor; if (httpContextAccessor.HttpContext.User.FindFirst(CustomClaims.UserId) != null) { currentUserId = Int32.Parse(httpContextAccessor.HttpContext.User.FindFirst(CustomClaims.UserId).Value); } }
public PublicationService( EFDbContext context, IPublicationRepository publicationRepository, ISharedSpaceRepository sharedSpaceRepository, IReservationRepository reservationRepository, ICampusRepository campusRepository, IResourceTypeRepository resourceTypeRepository ) { _context = context; _publicationRepository = publicationRepository; _sharedSpaceRepository = sharedSpaceRepository; _reservationRepository = reservationRepository; this.campusRepository = campusRepository; _resourceTypeRepository = resourceTypeRepository; }
public AccountService(UserManager <User> userManager, RoleManager <Role> roleMananager, SignInManager <User> signInManager, IIdentityRepository store, IActivityService activityService, IUserService userService, IRoleRightRepository roleRightRepository, IActivityRepository activityRepository, IResourceRepository resourceRepository, IResourceTypeRepository resourceTypeRepository) { UserManager = userManager; SignInManager = signInManager; RoleManager = roleMananager; _store = store; _activityService = activityService; _userService = userService; _roleRightRepository = roleRightRepository; _activityRepository = activityRepository; _resourceRepository = resourceRepository; _resourceTypeRepository = resourceTypeRepository; }
public ResourceTypeService(IResourceTypeRepository resourceTypeService) { _resourceTypeRepository = resourceTypeService; }
public ResourceAssignmentController(IBookingItemResourceAssignmentRepository resourceAssignmentRepo, IResourceTypeRepository resourceTypeRepo) { resourceAssignmentRepository = resourceAssignmentRepo; resourceTypeRepository = resourceTypeRepo; }
public void Setup() { _resourceTypeRepository = new MockResourceTypeRepository(); }
public ResourceTypeService(IResourceTypeRepository resourceTypeRepository) { _resourceTypeRepo = resourceTypeRepository; }
public ResourcesController(IResourceRepository repoR, IResourceTypeRepository repoRT) { resourceRepository = repoR; resourceTypeRepository = repoRT; }
public ResourceTypesController(IResourceTypeRepository repo) => repositoryResourceType = repo;