Example #1
0
        public Album SelectAlbumLogicMap(albumBLO _SelectAlbumLogic)
        {
            Album LogicToReturn = new Album();

            {
                Album _albumLogicView = new Album();
                _albumLogicView.Albums_ID        = _SelectAlbumLogic.Albums_ID;
                _albumLogicView.AlbumName        = _SelectAlbumLogic.AlbumName;
                _albumLogicView.AlbumDescription = _SelectAlbumLogic.AlbumDescription;
                _albumLogicView.AlbumPrice       = _SelectAlbumLogic.AlbumPrice;
                _albumLogicView.YearReleased     = _SelectAlbumLogic.YearReleased;
                _albumLogicView.NumberOfSongs    = _SelectAlbumLogic.NumberOfSongs;
                _albumLogicView.AlbumQuantity    = _SelectAlbumLogic.AlbumQuantity;
            }
            return(LogicToReturn);
        }
Example #2
0
        public albumBLO SingleAlbumLogicMap(Album _SingleAlbumLogic)
        {
            albumBLO LogicToReturn = new albumBLO();

            {
                albumBLO _albumLogicView = new albumBLO();
                _albumLogicView.Albums_ID        = _SingleAlbumLogic.Albums_ID;
                _albumLogicView.AlbumName        = _SingleAlbumLogic.AlbumName;
                _albumLogicView.AlbumDescription = _SingleAlbumLogic.AlbumDescription;
                _albumLogicView.AlbumPrice       = _SingleAlbumLogic.AlbumPrice;
                _albumLogicView.YearReleased     = _SingleAlbumLogic.YearReleased;
                _albumLogicView.NumberOfSongs    = _SingleAlbumLogic.NumberOfSongs;
                _albumLogicView.AlbumQuantity    = _SingleAlbumLogic.AlbumQuantity;
            }
            return(LogicToReturn);
        }