public void Upsert_CityMapping_ByMapId(string MapId) { using (DAL.DL_UpdateData DL = new DAL.DL_UpdateData()) { var mapId = Convert.ToInt32(MapId); DL.Upsert_CityMapping_ByMapId(mapId); } }