Example #1
0
 public static Wall GetEntWallFromDtoWall(Common.Data.Models.WallDto dtoWall)
 {
     return(new Wall
     {
         Id = dtoWall.Id,
         Name = dtoWall.Name,
         Width = dtoWall.Width,
         Height = dtoWall.Height,
     });
 }
Example #2
0
 public static McWall GetMcWallFromDtoWall(Common.Data.Models.WallDto dtoWall)
 {
     return(new McWall(dtoWall.Name, dtoWall.Width, dtoWall.Height, new System.Collections.ObjectModel.ObservableCollection <McSourceInstance>(), dtoWall.Id));
 }