예제 #1
0
        public async Task <bool> ActiveAsync(ArticleModifyRequest request)
        {
            await _articlePictureRepository.UpdateStatusByArticleIdAsync(new ArticlePictureModifyRequest
            {
                ArticleId   = request.Id,
                UpdatedById = request.UpdatedById
            }, PictureStatus.Actived);

            return(await _articleRepository.ActiveAsync(request));
        }