Exemplo n.º 1
0
        public static System.Collections.Generic.List <Category> getCategories(AnnoContext context)
        {
            List <Category> category = new List <Category>()
            {
                new Category()
                {
                    CategoryName = "Project Documentation"
                },
                new Category()
                {
                    CategoryName = "Computer Science"
                },
            };


            return(category);
        }
Exemplo n.º 2
0
        public static System.Collections.Generic.List <PDF> getPdfs(AnnoContext context)
        {
            List <PDF> pdf = new List <PDF>()
            {
                new PDF()
                {
                    CategoryId = context.categories.Find(1).CategoryId,
                    filename   = "STP___Annotext.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(1).CategoryId,
                    filename   = "ProjectProposalFinal (2).pdf"
                }, new PDF()
                {
                    CategoryId = context.categories.Find(1).CategoryId,
                    filename   = "ProjectCharter (1).pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(1).CategoryId,
                    filename   = "SystemRequirementSpecification (1).pdf"
                },

                new PDF()
                {
                    CategoryId = context.categories.Find(1).CategoryId,
                    filename   = "ArchitectureDesignSpecification.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(1).CategoryId,
                    filename   = "DDS_Group3 (1).pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(2).CategoryId,
                    filename   = "Chapter03_SG.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(2).CategoryId,
                    filename   = "Chapter04_SG.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(2).CategoryId,
                    filename   = "ICMP.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(2).CategoryId,
                    filename   = "Network Layer Security.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(2).CategoryId,
                    filename   = "STP Attacks.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(2).CategoryId,
                    filename   = "The Internet Protocol.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(2).CategoryId,
                    filename   = "Transport Layer Protocol.pdf"
                },
                new PDF()
                {
                    CategoryId = context.categories.Find(2).CategoryId,
                    filename   = "VLAN Hopping.pdf"
                },
            };

            return(pdf);
        }