public object BlockBillPay(int billPayID)
        {
            BillPay billPay = _repo.Get(billPayID);

            billPay.Status        = BillStatus.Blocked;
            billPay.StatusMessage = "blocked";
            _context.SaveChanges();

            return(new { success = true });
        }
Esempio n. 2
0
 public BillPay Get(int id)
 {
     return(_repo.Get(id));
 }