Esempio n. 1
0
        /// <summary>
        /// 通过应用程序编码查找
        /// </summary>
        /// <param name="code">应用程序编码</param>
        public async Task <ApplicationDto> GetByCodeAsync(string code)
        {
            var application = await ApplicationStore.SingleAsync(t => t.Code == code);

            return(application.ToDto());
        }