using speedLight.BL.Intf; using speedLight.BL.Models; namespace speedLight.BL.Providers; public class DataProvider: IMechanicProvider, IPictureSourceProvider { public IEnumerable GetMechanics() { return new List() { new Mechanic(300, "Звук"), new Mechanic(300000000, "Свет"), }; } public IEnumerable GetPictureItems() { return new List() { new Picture() { Name = "Эйфелева башня", PointFrom = new Point(100, 100), PointTo = new Point(100, 200), Distance = 330, Url = "https://cdn2.tu-tu.ru/image/pagetree_node_data/1/13d18a14f7afddb06f546aa1aba237cc/", }, new Picture() { Name = "Камп Ноу", PointFrom = new Point(100, 100), PointTo = new Point(100, 200), Distance = 120, Url = "https://footballtravel.com/uploads/2020/06/Camp-Nou-1024x683.jpg" }, }; } }