public static PhysicalWall GetEntPhysicalWallFromDtoPhysicalWall(Common.Data.Models.PhysicalWallDto dtoPhysicalWall) { return(new PhysicalWall { Id = dtoPhysicalWall.Id, }); }
public static DcPhysicalWall GetDcPhysicalWallFromDtoPhysicalWallAndSourceInstances(Common.Data.Models.PhysicalWallDto dtoPhysicalWall, ObservableCollection <DcSourceInstance> sourceInstances) { return(new DcPhysicalWall(new DcPhysicalWall(dtoPhysicalWall.Name, dtoPhysicalWall.Width, dtoPhysicalWall.Height, sourceInstances, dtoPhysicalWall.Id))); }