예제 #1
0
 public string SaveHistory(LoanHistory history)
 {
     using (LoanPriceEntities context = new LoanPriceEntities())
     {
         context.AddToLoanHistories(history);
         context.SaveChanges();
         return "History is added successfully";
     }
 }