using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.DataLogic.Repositories; using EMIS.ViewModel.PaymentManage; using System.Linq.Expressions; using EMIS.Entities; namespace EMIS.DataLogic.PaymentManage { public class LearningformRateDAL { public LearningformRateRepository LearningformRateRepository { get; set; } public IQueryable GetLearningformRateViewQueryable(Expression> exp) { var query = from a in LearningformRateRepository.GetList(exp) select new LearningformRateView { LearningformRateID = a.LearningformRateID, LearningformID = a.LearningformID, EducationID = a.EducationID, Rate = a.Rate }; return query; } } }