using AGVControl.Models; using System.Collections.Generic; using System.Linq; namespace AGVControl { public class PathResult { public bool Success { get { return Path != null && Path.Any(); } } public string Message { get; set; } public List Path { get; set; } } }