public SelectList GetSharePriceList() { var sharePriceList = _repository.GetAll().OrderBy(s => s.NomorHargaSaham).Select(x => new { Id = x.NomorHargaSaham, Value = $"{x.HargaSaham} {" | "} {x.TanggalHarga}" }); // var sharePriceList = _context.SharePrices.OrderBy(s => s.NomorHargaSaham).Select(x => new { Id = x.NomorHargaSaham, Value = x.HargaSaham }); return(new SelectList(sharePriceList, "Id", "Value")); }
public IOrderedQueryable <LoanRepaymentTransactionModel> GetLoanRepaymentTransactionPage() { return(_repository.GetAll().OrderBy(m => m.TanggalTransaksi)); }
public IOrderedQueryable <MemberModel> GetMemberPage() { return(_repository.GetAll().OrderBy(m => m.NamaLengkap)); }
public IOrderedQueryable <ShareTransactionModel> GetShareTransactionPage() { return(_repository.GetAll().OrderBy(m => m.TanggalTransaksi)); }