示例#1
0
        public async Task <CodeResponse> ModifyArtwork([FromBody] ArtworkModifyInputDto inputDto)
        {
            var result = await _artworkAppService.ModifyArtwork(inputDto);

            return(result ? CodeResponse.Ok() : CodeResponse.Error());
        }
示例#2
0
        public async Task <CodeResponse> RemoveArtwork(int id)
        {
            var result = await _artworkAppService.RemoveArtwork(id);

            return(result ? CodeResponse.Ok() : CodeResponse.Error());
        }
示例#3
0
        public async Task <CodeResponse> AddOrUpdate(PersonalIntroDto dto)
        {
            var result = await _personalIntroAppService.AddOrUpdate(dto);

            return(result ? CodeResponse.Ok() : CodeResponse.Error());
        }