예제 #1
0
 /// <summary>
 /// This Function is used to get list of all the Localities in a particular Village from Database.
 /// </summary>
 public static List <Locality> GetAllForVillage(int villageId)
 {
     return(LocalityDA.GetAllForVillage(villageId));
 }
예제 #2
0
 /// <summary>
 /// This Function is used to get list of all the Localities from Database.
 /// </summary>
 public static List <Locality> GetAll()
 {
     return(LocalityDA.GetAll());
 }
예제 #3
0
 /// <summary>
 /// This Function is used to get list of all the Localities in a particular City from Database.
 /// </summary>
 public static List <Locality> GetAllForCity(int cityId)
 {
     return(LocalityDA.GetAllForCity(cityId));
 }
예제 #4
0
 /// <summary>
 /// This Function is used to get list of all the Locality in a particular City and Village from Database.
 /// </summary>
 public static List <Locality> GetDetails(int CityId, int VillageId)
 {
     return(LocalityDA.GetDetails(CityId, VillageId));
 }
예제 #5
0
 /// <summary>
 /// This Function is used to get Details of the Village from Database.
 /// </summary>
 public static Locality GetDetails(int id)
 {
     return(LocalityDA.GetDetails(id));
 }
예제 #6
0
 /// <summary>
 /// This Function is used to Delete previously added Locality from database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Delete(Locality info)
 {
     return(LocalityDA.Delete(info));
 }
예제 #7
0
 /// <summary>
 /// This Function is used to Update previously added Locality in database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Update(Locality info)
 {
     return(LocalityDA.Update(info));
 }
예제 #8
0
 /// <summary>
 /// This Function is used to add new locality to database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Add(Locality info)
 {
     return(LocalityDA.Add(info));
 }