Example #1
0
        public async Task <GetWordbookItemOutput> GetWordbookItem(long id)
        {
            var wordbookOutput = (await _wordbookDomainService.GetWordbookItem(id)).MapTo <GetWordbookItemOutput>();
            await wordbookOutput.SetAuditInfo();

            return(wordbookOutput);
        }
Example #2
0
 public async Task <GetWordbookItemOutput> GetWordbookItem(long id)
 {
     return((await _wordbookDomainService.GetWordbookItem(id)).MapTo <GetWordbookItemOutput>());
 }