public async Task <IActionResult> ListarEstablecimientos() { ClsPeticiones peticiones = new ClsPeticiones(); AdminSession sesion = new AdminSession(HttpContext); var result = await peticiones.GetComplejoAnonimo <string, Cls_Response <List <ClsInfoSucursales> > >("Comercios/GetEstablecimientosById/" + sesion.GetString(VariablesDeSession.IdEmpresa)); ViewBag.Lista = result.Body; return(PartialView()); }