/* * Use override methods if you need to custom business codes */ public IEnumerable <LaptopViewModel> GetAllViewModel(Expression <Func <LaptopViewModel, bool> > filter = null) { /* Business Codes Here */ return(_laptopRepository.GetAllViewModel()); }