1 public class ReturnModelBase 2 { 3 public bool State { get; set; } 4 public string Message { get; set; } 5 } 6 public class ReturnModel : ReturnModelBase 7 { 8 public object Data { get; set; } 9 } 10 public class ReturnModel<T> : ReturnModelBase 11 { 12 public T Data { get; set; } 13 } 14 public class ReturnModelList<T> : ReturnModelBase 15 { 16 public List<T> Data { get; set; } 17 }