public virtual BOVEvent MapEFToBO( VEvent ef) { var bo = new BOVEvent(); bo.SetProperties( ef.Id, ef.ActualEndDate, ef.ActualStartDate, ef.BillAmount, ef.EventStatusId, ef.ScheduledEndDate, ef.ScheduledStartDate); return(bo); }
public virtual BOVEvent MapModelToBO( int id, ApiVEventRequestModel model ) { BOVEvent boVEvent = new BOVEvent(); boVEvent.SetProperties( id, model.ActualEndDate, model.ActualStartDate, model.BillAmount, model.EventStatusId, model.ScheduledEndDate, model.ScheduledStartDate); return(boVEvent); }