Example #1
0
 public List <TModel> Context <TModel>() where TModel : class, IModel
 {
     return(_instance.GetPropertyValue <TModel>(typeof(TModel).Name + "s"));
 }
 public List <T> Context <T> () where T : class
 {
     return(instance.GetPropertyValue <T>(typeof(T).Name + "s"));
 }