public static IHumanResourcesService GetHumanResourcesService(string dbName) => new HumanResourcesService(LoggingHelper.GetLogger <HumanResourcesService>(), new UserInfo("unittests"), DbContextMocker.GetOnLineStoreDbContextInMemory(dbName));
public static IHumanResourcesService GetHumanResourcesService(IUserInfo userInfo, string dbName) => new HumanResourcesService( LoggingHelper.GetLogger <HumanResourcesService>(), userInfo, DbContextMocker.GetOnLineStoreDbContextInMemory(dbName) );
public static IWarehouseService GetWarehouseService(string dbName) => new WarehouseService(LoggingHelper.GetLogger <WarehouseService>(), new UserInfo("unittests"), DbContextMocker.GetOnLineStoreDbContextInMemory(dbName));
public static IWarehouseService GetWarehouseService(IUserInfo userInfo, string dbName) => new WarehouseService( LoggingHelper.GetLogger <WarehouseService>(), userInfo, DbContextMocker.GetOnLineStoreDbContextInMemory(dbName) );