public async Task <IActionResult> Edit(Pediatra pediatra)
        {
            if (ModelState.IsValid)
            {
                try
                {
                    //TODO: cambiar el usuario a dinamico
                    pediatra.User = await this.userHelper.GetUserByEmailAsync("*****@*****.**");

                    await this.pediatrarepository.UpdateAsync(pediatra);
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!await this.pediatrarepository.ExistAsync(pediatra.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(pediatra));
        }
        public async Task <IActionResult> Create(Pediatra pediatra)
        {
            if (ModelState.IsValid)
            {
                //TODO: cambiar el usuario a dinamico
                pediatra.User = await this.userHelper.GetUserByEmailAsync("*****@*****.**");

                await this.pediatrarepository.CreateAsync(pediatra);

                return(RedirectToAction(nameof(Index)));
            }
            return(View(pediatra));
        }