public virtual ApiDashboardConfigurationResponseModel MapBOToModel( BODashboardConfiguration boDashboardConfiguration) { var model = new ApiDashboardConfigurationResponseModel(); model.SetProperties(boDashboardConfiguration.Id, boDashboardConfiguration.IncludedEnvironmentIds, boDashboardConfiguration.IncludedProjectIds, boDashboardConfiguration.IncludedTenantIds, boDashboardConfiguration.IncludedTenantTags, boDashboardConfiguration.JSON); return(model); }
public virtual BODashboardConfiguration MapEFToBO( DashboardConfiguration ef) { var bo = new BODashboardConfiguration(); bo.SetProperties( ef.Id, ef.IncludedEnvironmentIds, ef.IncludedProjectIds, ef.IncludedTenantIds, ef.IncludedTenantTags, ef.JSON); return(bo); }
public virtual DashboardConfiguration MapBOToEF( BODashboardConfiguration bo) { DashboardConfiguration efDashboardConfiguration = new DashboardConfiguration(); efDashboardConfiguration.SetProperties( bo.Id, bo.IncludedEnvironmentIds, bo.IncludedProjectIds, bo.IncludedTenantIds, bo.IncludedTenantTags, bo.JSON); return(efDashboardConfiguration); }
public virtual BODashboardConfiguration MapModelToBO( string id, ApiDashboardConfigurationRequestModel model ) { BODashboardConfiguration boDashboardConfiguration = new BODashboardConfiguration(); boDashboardConfiguration.SetProperties( id, model.IncludedEnvironmentIds, model.IncludedProjectIds, model.IncludedTenantIds, model.IncludedTenantTags, model.JSON); return(boDashboardConfiguration); }