public string ObtenerListadoDistritos(int intIdProvincia, int intIdCanton) { try { IList <LlaveDescripcion> listadoEmpresas = (List <LlaveDescripcion>)servicioMantenimiento.ObtenerListadoDistritos(intIdProvincia, intIdCanton); string strRespuesta = ""; if (listadoEmpresas.Count > 0) { strRespuesta = serializer.Serialize(listadoEmpresas); } return(strRespuesta); } catch (Exception ex) { throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError); } }