Books.Server.BooksService.GetBooks C# (CSharp) Method

GetBooks() public method

public GetBooks ( ) : List
return List
        public List<Book> GetBooks()
        {
            List<Book> result = null;

            var profiler = Profiler.Instance;
            using (profiler.Step("getbooks"))
            {
                Internal1();
                using (profiler.Step("GeneratingResult"))
                {
                    result = new List<Book>() { new Book() { Auther = "Abc", Name = "book1", Pages = 5},
                        new Book() { Auther = "Xyz", Name = "book2", Pages = 50}};
                    SqlTestMethod();
                }
            }
            return result;
        }