public CountryModel GetCountryById(int id) { try { return(objcountrydal.GetCountryById(id)); } catch (Exception) { return(null); throw; } }