public async Task <CodeResponse> ModifyArtwork([FromBody] ArtworkModifyInputDto inputDto) { var result = await _artworkAppService.ModifyArtwork(inputDto); return(result ? CodeResponse.Ok() : CodeResponse.Error()); }
public async Task <CodeResponse> RemoveArtwork(int id) { var result = await _artworkAppService.RemoveArtwork(id); return(result ? CodeResponse.Ok() : CodeResponse.Error()); }
public async Task <CodeResponse> AddOrUpdate(PersonalIntroDto dto) { var result = await _personalIntroAppService.AddOrUpdate(dto); return(result ? CodeResponse.Ok() : CodeResponse.Error()); }