/// <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)); }
/// <summary> /// This Function is used to get list of all the Localities from Database. /// </summary> public static List <Locality> GetAll() { return(LocalityDA.GetAll()); }
/// <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)); }
/// <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)); }
/// <summary> /// This Function is used to get Details of the Village from Database. /// </summary> public static Locality GetDetails(int id) { return(LocalityDA.GetDetails(id)); }
/// <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)); }
/// <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)); }
/// <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)); }