Example #1
0
 public static DAL.Test ToTest(TestDTO t)
 {
     return(new DAL.Test()
     {
         testId = t.testId, link = t.link, teacherId = t.teacherId, categoriId = t.categoriId
     });
 }
Example #2
0
 public static Test TestConvertDAL(TestDTO t)
 {
     return(new Test()
     {
         TestId = t.TestId,
         IdLesson = t.IdLesson,
         TestName = t.TestName,
         TestSub = t.TestSub
     });
 }