예제 #1
0
 public ComponentTestDisplay MapToBLLDisplay(DALComponentTestFull dalComponentTest)
 {
     return(new ComponentTestDisplay
     {
         Id = dalComponentTest.Id,
         ComponentId = dalComponentTest.ComponentId,
         ComponentName = dalComponentTest.Component !.ComponentName,
         TestDate = dalComponentTest.TestDate,
         TestId = dalComponentTest.TestId,
         TestName = dalComponentTest.Test !.TestName,
         Value = dalComponentTest.Value
     });
예제 #2
0
 public ComponentTestFull MapToBLLFull(DALComponentTestFull dalComponentTest)
 {
     return(new ComponentTestFull
     {
         Id = dalComponentTest.Id,
         ComponentId = dalComponentTest.ComponentId,
         Component = dalComponentTest.Component,
         TestDate = dalComponentTest.TestDate,
         Test = dalComponentTest.Test,
         TestId = dalComponentTest.TestId
     });
 }