public void AddNewBorrower() { BorrowersModel classObj = new BorrowersModel(); BorrowersModel obj = new BorrowersModel(); obj.FirstName = "FirstName"; obj.LastName = "Last Name"; Assert.IsTrue(classObj.AddBorrower(obj)); }
/// <summary> /// Saves New Borrower /// </summary> /// <param> BorrowersModel</param> /// <returns>Bool</returns> public bool Post_SaveNewBorrower(BorrowersModel bModel) { try { BorrowersModel obj = new BorrowersModel(); return(obj.AddBorrower(bModel)); } catch (Exception ex) { Logging.Error(ex.Message); return(false); } }