public static Wall GetEntWallFromDtoWall(Common.Data.Models.WallDto dtoWall) { return(new Wall { Id = dtoWall.Id, Name = dtoWall.Name, Width = dtoWall.Width, Height = dtoWall.Height, }); }
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)); }