Exemplo n.º 1
0
 public static IHumanResourcesService GetHumanResourcesService(string dbName)
 => new HumanResourcesService(LogHelper.GetLogger <HumanResourcesService>(), new UserInfo("unittests"), DbContextMocker.GetStoreDbContextInMemory(dbName));
Exemplo n.º 2
0
 public static IProductionService GetProductionService(string dbName)
 => new ProductionService(LogHelper.GetLogger <ProductionService>(), new UserInfo("unittests"), DbContextMocker.GetStoreDbContextInMemory(dbName));