public IActionResult IsCheckPayment(int id, bool isPay) { if (ModelState.IsValid) { var model = _billAppService.IsCheckPayment(id, isPay); return(Ok(model)); } return(NotFound()); }