public void OnGet() { PayoutHistory = _supplierPayoutRepo.GetAllExtra(); PendingPayouts = _supplierRepo.GetAll().Where(x => x.Balance > 0); }
public IActionResult GetSuppliers() { IEnumerable <Supplier> suppliers = _repo.GetAll(); return(Ok(suppliers)); }
public void OnGet() { Suppliers = _supplierRepo.GetAll(); }