public AlbumDetailHelper(API.LABURNUM.COM.AlbumDetail albumDetail) { if (albumDetail == null) { throw new Exception(API.LABURNUM.COM.Component.Constants.ERRORMESSAGES.PARAMETER_CANNOT_BE_NULL); } ; this.AlbumDetails = new List <API.LABURNUM.COM.AlbumDetail>(); this.AlbumDetails.Add(albumDetail); }
private DTO.LABURNUM.COM.AlbumDetailModel MapCore(API.LABURNUM.COM.AlbumDetail AlbumDetail) { DTO.LABURNUM.COM.AlbumDetailModel dtoClass = new DTO.LABURNUM.COM.AlbumDetailModel() { AlbumDetailId = AlbumDetail.AlbumDetailId, Attachment = AlbumDetail.Attachment, CreatedOn = AlbumDetail.CreatedOn, IsActive = AlbumDetail.IsActive, LastUpdated = AlbumDetail.LastUpdated }; return(dtoClass); }