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