public virtual BOAccount MapEFToBO( Account ef) { var bo = new BOAccount(); bo.SetProperties( ef.Id, ef.AccountType, ef.EnvironmentIds, ef.JSON, ef.Name, ef.TenantIds, ef.TenantTags); return(bo); }
public virtual BOAccount MapModelToBO( string id, ApiAccountRequestModel model ) { BOAccount boAccount = new BOAccount(); boAccount.SetProperties( id, model.AccountType, model.EnvironmentIds, model.JSON, model.Name, model.TenantIds, model.TenantTags); return(boAccount); }