示例#1
0
 public List <Category> Get_All()
 {
     return(Get_Data.Get_Categories().ToList());
 }
示例#2
0
 public Category Get(String Name)
 {
     return(Get_Data.Get_Categories().Where(item => item.Name.CompareTo(Name) == 0).FirstOrDefault());
 }