public ActionResult GetRepayments()
 {
     return(Ok(RepaymentBL.GetAll()));
 }
 public ActionResult getRepaymentById([FromRoute] int id)
 {
     return(Ok(RepaymentBL.getRepaymentById(id)));
 }
示例#3
0
 public void Update([FromBody] RepaymentsDTO repayment)
 {
     RepaymentBL.Update(repayment);
 }