using sodoff.Schema; using sodoff.Util; namespace sodoff.Services; public class StoreService { Dictionary stores = new(); public StoreService(ItemService itemService) { StoreData[] storeArray = XmlUtil.DeserializeXml(XmlUtil.ReadResourceXmlString("store")); foreach (var s in storeArray) { var newStore = new ItemsInStoreData { ID = s.Id, StoreName = s.StoreName, Description = s.Description, Items = new ItemData[s.ItemId.Length], SalesAtStore = s.SalesAtStore, PopularItems = s.PopularItems }; for (int i=0; i