Exemplo n.º 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());
 }
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 7
0
 public static List <BusinessObjects.Village> GetAll()
 {
     return(VillageDA.GetAll());
 }
Exemplo n.º 8
0
 public static BusinessObjects.Village GetDetails(int Id)
 {
     return(VillageDA.GetDetails(Id));
 }
Exemplo n.º 9
0
 public static bool Delete(BusinessObjects.Village villageBO)
 {
     return(VillageDA.Delete(villageBO));
 }
Exemplo n.º 10
0
 public static bool Update(BusinessObjects.Village villageBO)
 {
     return(VillageDA.Update(villageBO));
 }
Exemplo n.º 11
0
 public static bool Add(BusinessObjects.Village villageBO)
 {
     return(VillageDA.Add(villageBO));
 }