static void Main(string[] args){
IQueryable<City> cities(){
new City("Krasnoyarsk", 1),
IQueryable<Storage> storages(){
return new List<Storage>(){
new Storage("Bogdan", 0, 0),
new Storage("Aresiny", 1, 1),
new Storage("Niyaz", 2, 2),
new Storage("Stalin", 2, 3),
new Storage("Stakan", 0, 4),
new Storage("Neck Hurt", 1, 5),
new Storage("Putin", 0, 6)
IQueryable<Product> products(){
return new List<Product>(){
new Product("Computer", new List<int>(){0, 1, 2}),
new Product("Bottle of water", new List<int>(){0, 1, 2}),
new Product("Iphone", new List<int>(){0})
var sort = from storage in storages() select new Products = products().Where(el => el.storageId.Contains(storage.storageId)).ToList();
public int id{get; private set;}
public string title{get; private set;}
public City(string Name, int Id){
public int cityId{get; private set;}
public int storageId{get; private set;}
public string title{get; private set;}
public Storage(string Title, int CityId, int StorageId){
public List<int> storageId{get; private set;}
public string title{get; private set;}
public Product(string Title, List<int> StorageId){