예제 #1
0
 public static VillageBO Search(string villageName)
 {
     try
     {
         List<VillageBO> listVillage = new List<VillageBO>();
         VillageBO result = new VillageBO();
         VillageDAL dal = new VillageDAL(CUtil.GetConnexion());
         listVillage = dal.VillageBO_Search(villageName).ToList();
         result = listVillage.FirstOrDefault();
         return result;
     }
     catch (Exception)
     {
         throw;
     }
 }