public async Task <VisitaEntity> Delete(VisitaEntity visita)
        {
            VisitaEntity visitaDelete = repository.Delete(visita);

            _ = await context.SaveAsync();

            return(visitaDelete);
        }
        public async Task <VisitaEntity> Find(int idVisita)
        {
            VisitaEntity visitaFind = repository.Find(idVisita);

            return(await Task.FromResult(visitaFind));
        }