public async Task <IActionResult> DeleteSubject(int id)
        {
            var subject = await _quantumITAppService.DeleteSubjectAsync(id);

            return(Ok(subject));

            throw new Exception($"deleting subject {id} failed on save!");
        }
Пример #2
0
        public async Task <IActionResult> DeleteSubject(int id)
        {
            var subject = await _quantumITAppService.DeleteSubjectAsync(id);

            return(Ok(subject));
        }