Example #1
0
 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));
        }
Example #3
0
 public void OnGet()
 {
     Suppliers = _supplierRepo.GetAll();
 }