public PolyServiceTests() { _polyService = new PolyService(); _polygonPoints = new Point[] { new Point { X = 143, Y = 100 }, new Point { X = 95, Y = 270 }, new Point { X = 95, Y = 317 }, new Point { X = 425, Y = 155 }, new Point { X = 269, Y = 57 } }; }
public PolyController(IPolyService polyService) { _polyService = polyService; }