Пример #1
0
        public async Task <IActionResult> DeleteProject([Required] int id)
        {
            if (!ModelState.IsValid)
            {
                return(ValidationError());
            }

            bool result = await ProjectProvider.RemoveProjectAsync(id);

            return(FromContent(result));
        }