Пример #1
0
        // GET: Groups/Delete/5
        public async Task <IActionResult> Delete(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var groups = await _servGroups.DeleteAsync(id);

            if (groups == null)
            {
                return(NotFound());
            }

            return(View(groups));
        }