Exemplo n.º 1
0
        public IActionResult DeleteVisit(long id)
        {
            Visit visit = visit_repo.Find(id);

            if (visit == null)
            {
                return(NotFound());
            }

            visit_repo.Delete(visit);
            return(Ok());
        }