コード例 #1
0
 public IQueryable <CartViewModel> GetCartProducts(string email)
 {
     return(_cartRepo.GetCartProducts(email).Where(x => x.Email == email).ProjectTo <CartViewModel>(_mapper.ConfigurationProvider));
 }