public async Task Add(Interfaces.IShow show) { await this.showService.addShowAsync(new addShowRequest { shwName = show.ShwName, shwDescr = show.ShwDesc, shwPerformer = show.ShwPerformer, shwIcon = show.ShwIcon }); }
public async Task <Interfaces.IShow> Merge(Interfaces.IShow show) { var result = await this.showService.mergeShowAsync(new mergeShowRequest { shwId = show.ShwId, shwIdSpecified = true, shwName = show.ShwName, shwDescr = show.ShwDesc, shwPerformer = show.ShwPerformer, shwIcon = show.ShwIcon }); return(this.ToShow(result.@return)); }