public virtual Culture MapBOToEF( BOCulture bo) { Culture efCulture = new Culture(); efCulture.SetProperties( bo.CultureID, bo.ModifiedDate, bo.Name); return(efCulture); }
public virtual BOCulture MapEFToBO( Culture ef) { var bo = new BOCulture(); bo.SetProperties( ef.CultureID, ef.ModifiedDate, ef.Name); return(bo); }
public virtual BOCulture MapModelToBO( string cultureID, ApiCultureRequestModel model ) { BOCulture boCulture = new BOCulture(); boCulture.SetProperties( cultureID, model.ModifiedDate, model.Name); return(boCulture); }