public virtual BOCommunityActionTemplate MapEFToBO( CommunityActionTemplate ef) { var bo = new BOCommunityActionTemplate(); bo.SetProperties( ef.Id, ef.ExternalId, ef.JSON, ef.Name); return(bo); }
public virtual BOCommunityActionTemplate MapModelToBO( string id, ApiCommunityActionTemplateRequestModel model ) { BOCommunityActionTemplate boCommunityActionTemplate = new BOCommunityActionTemplate(); boCommunityActionTemplate.SetProperties( id, model.ExternalId, model.JSON, model.Name); return(boCommunityActionTemplate); }