public virtual BOFamily MapEFToBO( Family ef) { var bo = new BOFamily(); bo.SetProperties( ef.Id, ef.Notes, ef.PcEmail, ef.PcFirstName, ef.PcLastName, ef.PcPhone, ef.StudioId); return(bo); }
public virtual BOFamily MapModelToBO( int id, ApiFamilyRequestModel model ) { BOFamily boFamily = new BOFamily(); boFamily.SetProperties( id, model.Notes, model.PcEmail, model.PcFirstName, model.PcLastName, model.PcPhone, model.StudioId); return(boFamily); }