Пример #1
0
 public BirdInfo Get(string id)
 {
     //return (from x in BirdInfoRepo.Data where x.BirdNo == id select x).FirstOrDefault();
     return(BirdInfoRepo.Get(id));
 }
Пример #2
0
 // GET api/values/5
 public BirdInfo Get(string serialNo)
 {
     return(BirdInfoRepo.Get(serialNo));
 }
Пример #3
0
 /// <summary>
 /// 傳回指定的 SN 資料
 /// </summary>
 /// <param name="serialNo"></param>
 /// <returns></returns>
 public BirdInfo Get(string id)
 {
     return(BirdInfoRepo.Get(id));
 }