示例#1
0
 /// <summary>
 /// This Function is used to get list of all the Villages from Database.
 /// </summary>
 public static List <Village> GetAll()
 {
     return(VillageDA.GetAll());
 }
示例#2
0
 /// <summary>
 /// This Function is used to get list of all the Villages in a particular City from Database.
 /// </summary>
 public static List <Village> GetAllForCity(int cityId)
 {
     return(VillageDA.GetAllForCity(cityId));
 }
示例#3
0
 /// <summary>
 /// This Function is used to Delete previously added Village from database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Delete(Village info)
 {
     return(VillageDA.Delete(info));
 }
示例#4
0
 /// <summary>
 /// This Function is used to get Details of the Village from Database.
 /// </summary>
 public static Village GetDetails(int id)
 {
     return(VillageDA.GetDetails(id));
 }
示例#5
0
 /// <summary>
 /// This Function is used to add new Village to database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Add(Village info)
 {
     return(VillageDA.Add(info));
 }
示例#6
0
 /// <summary>
 /// This Function is used to Update previously added Village in database and is performed by SuperAdmin Only.
 /// </summary>
 /// <param name="info"></param>
 /// <returns></returns>
 public static bool Update(Village info)
 {
     return(VillageDA.Update(info));
 }
示例#7
0
 public static List <BusinessObjects.Village> GetAll()
 {
     return(VillageDA.GetAll());
 }
示例#8
0
 public static BusinessObjects.Village GetDetails(int Id)
 {
     return(VillageDA.GetDetails(Id));
 }
示例#9
0
 public static bool Delete(BusinessObjects.Village villageBO)
 {
     return(VillageDA.Delete(villageBO));
 }
示例#10
0
 public static bool Update(BusinessObjects.Village villageBO)
 {
     return(VillageDA.Update(villageBO));
 }
示例#11
0
 public static bool Add(BusinessObjects.Village villageBO)
 {
     return(VillageDA.Add(villageBO));
 }