public OutletManagerService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _outletManagerRepo = new OutletManagerRepo(context); _crashLogRepo = new CrashLogRepo(context); }
public UserService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _userRepo = new UserRepo(context); _crashLogRepo = new CrashLogRepo(context); _emailIdRepo = new EmailIdRepo(context); }
public FileService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _fileRepo = new FileRepo(context); _crashLogRepo = new CrashLogRepo(context); _productPictureRepo = new ProductPictureRepo(context); }
public SubscriptionService(ISubscriptionLogRepo subscriptionLogRepo, IServiceRepo subscriptionRepo) { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _subscriptionLogRepo = subscriptionLogRepo; _subscriptionRepo = subscriptionRepo; _crashLogRepo = new CrashLogRepo(context); }
public CategoryService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _categoryRepo = new CategoryRepo(context); _crashLogRepo = new CrashLogRepo(context); //_productRepo = new IProductRepo(context); }
//private readonly IProductPictureRepo _productPicRepo; public ProductService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _productUnitTypeRepo = new ProductUnitTypeRepo(context); _crashLogRepo = new CrashLogRepo(context); _inventoryLogRepo = new InventoryLogRepo(context); _productRepo = new ProductRepo(context); _outletManagerRepo = new OutletManagerRepo(context); _categoryRepo = new CategoryRepo(context); //_productPicRepo = new ProductPictureRepo(context); }