public Stream UpdateIsActive(string idCountry, string isActive) { IUpdateCountryBusinessService businessService = (IUpdateCountryBusinessService)BusinessFactory.Create(Keywords.UpdateCountry); OperationResult result = businessService.UpdateIsActive(Convert.ToInt16(idCountry), Convert.ToInt16(isActive)); return(result.ToJsonStream()); }
public Stream UpdateCountryFlagIcon(string idCountry, string countryFlagIcon) { IUpdateCountryBusinessService businessService = (IUpdateCountryBusinessService)BusinessFactory.Create(Keywords.UpdateCountry); OperationResult result = businessService.UpdateCountryFlagIcon(Convert.ToInt16(idCountry), Convert.ToString(countryFlagIcon)); return(result.ToJsonStream()); }