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