public virtual BORate MapEFToBO(
            Rate ef)
        {
            var bo = new BORate();

            bo.SetProperties(
                ef.Id,
                ef.AmountPerMinute,
                ef.TeacherId,
                ef.TeacherSkillId);
            return(bo);
        }
        public virtual BORate MapModelToBO(
            int id,
            ApiRateRequestModel model
            )
        {
            BORate boRate = new BORate();

            boRate.SetProperties(
                id,
                model.AmountPerMinute,
                model.TeacherId,
                model.TeacherSkillId);
            return(boRate);
        }