예제 #1
0
        public async Task <IActionResult> DeleteList(int id)
        {
            var list = await _listsRepository.Get(id);

            Validator.Assert(list != null, ValidationAreas.NotExists);

            await _listsRepository.Delete(list);

            return(Ok());
        }