コード例 #1
0
        public static Assignment AddAssignment()
        {
            Assignment a = new Assignment();

            a.Title       = InputsMethods.GiveTitle();
            a.Description = InputsMethods.GiveDescription();
            a.SubDateTime = InputsMethods.GiveSubDate();
            a.OralMark    = InputsMethods.GiveOralMark();
            a.TotalMark   = InputsMethods.GiveTotalMark();
            return(a);
        }
コード例 #2
0
        public static Course AddCourse()
        {
            Course c = new Course();

            c.Title     = InputsMethods.GiveTitle();
            c.Stream    = InputsMethods.GiveStream();
            c.Type      = InputsMethods.GiveType();
            c.StartDate = InputsMethods.GiveStartDate();
            c.EndDate   = InputsMethods.GiveEndDate();
            return(c);
        }