Пример #1
0
        public async Task <IActionResult> DeleteStudent(string id)
        {
            await _studentRepository.DeleteAsync(id);

            return(RedirectToAction("Index"));
        }