public List <ServiceCategoriesResponse> GetServiceCategories() { List <ServiceCategoriesResponse> myList = new List <ServiceCategoriesResponse>(); try { int CountryId = 101; CountryListRequest clr = new CountryListRequest(); clr.CountryId = CountryId; var apiResponse = _categoryManagementService.GetServicesDrop(clr); if (apiResponse.Succeded) { myList = apiResponse.Response; } } catch (Exception ex) { } return(myList); }