예제 #1
0
        public async Task <IActionResult> Delete()
        {
            try
            {
                await _subjectsRepository.DeleteAll().ConfigureAwait(false);

                return(Ok());
            }
            catch (Exception exception)
            {
                return(HttpNotFound(exception));
            }
        }