Пример #1
0
 public string ObtenerListadoSucursales(int intIdEmpresa)
 {
     try
     {
         IList <LlaveDescripcion> listadoSucursales = (List <LlaveDescripcion>)servicioMantenimiento.ObtenerListadoSucursales(intIdEmpresa);
         string strRespuesta = "";
         if (listadoSucursales.Count > 0)
         {
             strRespuesta = serializer.Serialize(listadoSucursales);
         }
         return(strRespuesta);
     }
     catch (Exception ex)
     {
         throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError);
     }
 }