public virtual ApiVEventResponseModel MapBOToModel(
            BOVEvent boVEvent)
        {
            var model = new ApiVEventResponseModel();

            model.SetProperties(boVEvent.Id, boVEvent.ActualEndDate, boVEvent.ActualStartDate, boVEvent.BillAmount, boVEvent.EventStatusId, boVEvent.ScheduledEndDate, boVEvent.ScheduledStartDate);

            return(model);
        }
        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 VEvent MapBOToEF(
            BOVEvent bo)
        {
            VEvent efVEvent = new VEvent();

            efVEvent.SetProperties(
                bo.ActualEndDate,
                bo.ActualStartDate,
                bo.BillAmount,
                bo.EventStatusId,
                bo.Id,
                bo.ScheduledEndDate,
                bo.ScheduledStartDate);
            return(efVEvent);
        }
        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);
        }