/// <summary>
 /// Gets the borrower by given ID.
 /// </summary>
 /// <param name="idBorrower">The ID of the borrower.</param>
 /// <returns>The Borrower object found.</returns>
 public Borrower GetBorrowerById(int idBorrower)
 {
     return(borrowerRepository.GetByID(idBorrower));
 }
예제 #2
0
        public ActionResult Details(int id)
        {
            Borrower borrower = borrowerRepository.GetByID(id);

            return(View(borrower));
        }
예제 #3
0
        public JsonResult Details(int id)
        {
            var b = borrowerRepository.GetByID(id);

            return(Json(b));
        }