Exemple #1
0
        public async Task <IActionResult> Delete(Guid id)
        {
            var visit = await _visitService.GetVisitById(id);

            await _visitService.DeleteVisit(visit);

            return(RedirectToAction("Index"));
        }