public ProductoGrupoMedico_DatosInicialesBE ListarDatosIniciales(string usuario, int idCliente)
        {
            ProductoGrupoMedico_DatosInicialesBE obe  = new ProductoGrupoMedico_DatosInicialesBE();
            List <ProductoGrupoMedicoBE>         lobe = new List <ProductoGrupoMedicoBE>();
            List <ListaComboBE> loCliente             = new List <ListaComboBE>();

            using (SqlConnection con = new SqlConnection(strCnxRule))
            {
                con.Open();
                loCliente = oMaestrosDA.Cliente(con, usuario, idCliente);
                lobe      = oProductoGrupoMedicoDA.ListarDatosIniciales(con, usuario);
            }

            obe.loListado = lobe;
            obe.loCliente = loCliente;

            return(obe);
        }
        public IHttpActionResult GetDatosIniciales(string usuario, int idCliente)
        {
            try
            {
                ProductoGrupoMedicoBL oProductoGrupoMedicoBL = new ProductoGrupoMedicoBL(idCliente);
                ProductoGrupoMedico_DatosInicialesBE lobe    = oProductoGrupoMedicoBL.ListarDatosIniciales(usuario, idCliente);

                if (lobe != null)
                {
                    return(Ok(Models.Util.GetBodyResponse(200, lobe)));
                }
                else
                {
                    return(Ok(Models.Util.GetBodyResponse(300, "No se encontraron registros.")));
                }
            }
            catch (Exception ex)
            {
                /*LogSA.GrabarLogError("SOL TR", user, "GetListarOrdOtrs", ex);*/
                return(Ok(Models.Util.GetBodyResponse(400, ex.Message)));
            }
        }