Exemple #1
0
 public HomeworkTypeViewModel()
 {
     types        = new List <HOMEWORK_TYPE>();
     newType      = new HOMEWORK_TYPE();
     inactiveList = new List <int>();
 }
Exemple #2
0
 public static int AddType(HOMEWORK_TYPE newType)
 {
     try { return(WillORM.InsertRecord(newType)); }
     catch { return(0); }
 }