Exemple #1
0
        public IActionResult DeleteConsultant(long id)
        {
            Consultant a = con_repo.Find(id);

            if (a == null)
            {
                return(NotFound());
            }
            con_repo.Delete(a);
            return(Ok());
        }