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

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