public object BlockBillPay(int billPayID) { BillPay billPay = _repo.Get(billPayID); billPay.Status = BillStatus.Blocked; billPay.StatusMessage = "blocked"; _context.SaveChanges(); return(new { success = true }); }
public BillPay Get(int id) { return(_repo.Get(id)); }