internal LogicApp() { ArmyDBContext db = new ArmyDB(); // Провайдер базы данных var provider = new LogicProviderDB(LogicProviderDB.databases.mssql); socialNetworksLogic = new SocialNetworksLogic(provider); userLogic = new UserLogic(provider); CountriesLogic = new CountriesLogic(provider); SoldierUnitLogic = new SoldierUnitsLogic(provider); SocStatusesLogic = new SocStatusesLogic(provider); citiesLogic = new CitiesLogic(provider); CrimesLogic = new CrimesLogic(provider); ForeignFriendsLogic = new ForeignFriendsLogic(provider); ExtremistMaterialLogic = new ExtremistMaterialLogic(); GroupLogic = new GroupsLogic(provider); AudiosLogic = new AudiosLogic(provider); }
public CountriesLogic(LogicProviderDB provider) { this.provider = provider; }
public UserLogic(LogicProviderDB provider) { this.provider = provider; }
public CitiesLogic(LogicProviderDB provider) { this.provider = provider; }
public GroupsLogic(LogicProviderDB provider) { this.provider = provider; }
public AudiosLogic(LogicProviderDB provider) { this.provider = provider; }
public ForeignFriendsLogic(LogicProviderDB provider) { this.provider = provider; }
public SocialNetworksLogic(LogicProviderDB provider) { this.provider = provider; }
public SocStatusesLogic(LogicProviderDB provider) { this.provider = provider; }
public SoldierUnitsLogic(LogicProviderDB provider) { this.provider = provider; }