public IEnumerable<Mandal> GetMandal(IteamID ZoneID) { List<Mandal> result = lobj1.tbl_Mandal.Where(x => x.Code == ZoneID.ID).Select(x => new Mandal() { Code = x.Code, MandalName = x.MandalName }).ToList(); return result; }
internal IEnumerable<Mandal> GetMandals(IteamID ZoneID) { return obj.GetMandal(ZoneID); }
public IEnumerable<Zone> GetZone(IteamID DistrictID) { List<Zone> result = lobj1.tbl_Zone.Select(x => new Zone() { Code = x.Code, ZoneName = x.ZoneName }).ToList(); return result; }