public CharacterFacade(IUnitOfWorkProvider unitOfWorkProvider, ICharacterService characterService, IAttributesService attributesService, IEquipmentService equipmentService, IInventoryService inventoryService) : base(unitOfWorkProvider) { _characterService = characterService; _attributesService = attributesService; _equipmentService = equipmentService; }
public AttributesTypeLinkController( IAttributesTypeLinkService service, IAttributesService attributeService, ITypeLinkService typeLinkService) : base(service) { this.service = service; this.typeLinkService = typeLinkService; ViewData.Add("AttributeID", new SelectList(attributeService.getAll(), "AttributeID", "description")); }
public FoodsService( IMouthfeelContextFactory mouthfeelContextFactory, IIngredientsService ingredients, IAttributesService attributes, IImagesService images ) { _mouthfeelContextFactory = mouthfeelContextFactory; _mouthfeel = _mouthfeelContextFactory.CreateContext(); _ingredients = ingredients; _attributes = attributes; _images = images; }
public AttributesFacade(IUnitOfWorkProvider unitOfWorkProvider, IAttributesService attributesService) : base(unitOfWorkProvider) { _attributesService = attributesService; }
public MonsterFacade(IUnitOfWorkProvider unitOfWorkProvider, IMonsterService monsterService, IAttributesService attributesService) : base(unitOfWorkProvider) { _monsterService = monsterService; _attributesService = attributesService; }
public AttributesController(IAttributesService service) : base(service) { }
public async Task <ActionResult <IEnumerable <Attribute> > > GetMiscellaneous ( [FromServices] IAttributesService _attributes ) => (await _attributes.GetAttributes(VotableAttributeType.Miscellaneous)).ToList();
public async Task <ActionResult <IEnumerable <Attribute> > > GetTextures ( [FromServices] IAttributesService _attributes ) => (await _attributes.GetAttributes(VotableAttributeType.Texture)).ToList();
public AttributeUnitsController(IAttributesService attributesService) { _attributesService = attributesService; }