public AddressService( CosinessDbContext context, IBaseNameOnlyEntityService <Town> townsService) { _context = context; _townsService = townsService; }
protected BaseNameOnlyEntityServiceTests() { var options = new DbContextOptionsBuilder <CosinessDbContext>() .UseInMemoryDatabase(Guid.NewGuid().ToString()) .Options; _context = new CosinessDbContext(options); _entitiesService = new BaseNameOnlyEntityService <TEntity>(_context); _entityId = Guid.NewGuid().ToString(); SeedData(); }
public ProductService( CosinessDbContext context, IBaseNameOnlyEntityService <Category> categoryService, IBaseNameOnlyEntityService <Set> setService, IBaseNameOnlyEntityService <Dimension> dimensionService, IBaseNameOnlyEntityService <Color> colorService, IBaseNameOnlyEntityService <Material> materialService, IImageService imageService) { _context = context; _categoryService = categoryService; _setService = setService; _dimensionService = dimensionService; _colorService = colorService; _materialService = materialService; _imageService = imageService; }
public CategoriesListViewComponent(IBaseNameOnlyEntityService <Category> serice) { _serice = serice; }
public DimensionsListViewComponent(IBaseNameOnlyEntityService <Dimension> serice) { _serice = serice; }
public ColorsListViewComponent(IBaseNameOnlyEntityService <Color> serice) { _serice = serice; }
public SetsListViewComponent(IBaseNameOnlyEntityService <Set> serice) { _serice = serice; }
public MaterialsListViewComponent(IBaseNameOnlyEntityService <Material> serice) { _serice = serice; }