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

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