示例#1
0
        public static IEnumerable <AuthorModel> GetAllAuthors()
        {
            var authors = StoredProcs.Authors_GetAuthors().Execute();

            return(authors.Select(a => AuthorModel.FromTable(a)));
        }