public async Task <IActionResult> OnPostCipasPartialAsync()
        {
            var cipasGetAllResult = await cipasClient.GetAllAsync(CipasGetAll);

            return(new PartialViewResult()
            {
                ViewName = "_CipasPartial",
                ViewData = new ViewDataDictionary <CipasGetAllResult>(ViewData, cipasGetAllResult)
            });
        }
        public async Task OnGetAsync(Guid id)
        {
            var estabelecimentosGetResult = await estabelecimentosClient.GetAsync(id);

            EstabelecimentosPut = new EstabelecimentosPut()
            {
                Codigo = estabelecimentosGetResult.Codigo,
                Nome   = estabelecimentosGetResult.Nome,
                CipaId = estabelecimentosGetResult.CipaId
            };
            EstabelecimentoId = id;

            CipasGetAllResult = await cipasClient.GetAllAsync();
        }
 public async Task OnGetAsync()
 {
     CipasGetAllResult = await cipasClient.GetAllAsync();
 }