public virtual BOVersionInfo MapEFToBO( VersionInfo ef) { var bo = new BOVersionInfo(); bo.SetProperties( ef.Version, ef.AppliedOn, ef.Description); return(bo); }
public virtual BOVersionInfo MapModelToBO( long version, ApiVersionInfoRequestModel model ) { BOVersionInfo boVersionInfo = new BOVersionInfo(); boVersionInfo.SetProperties( version, model.AppliedOn, model.Description); return(boVersionInfo); }