Ejemplo n.º 1
0
 public int AddDetails(Data.EF.LoanDetail loanDetail)
 {
     using (MintosEntities mintosEntities = new MintosEntities())
     {
         loanDetail = mintosEntities.LoanDetails.Add(loanDetail);
         mintosEntities.SaveChanges();
         return(loanDetail.DetailsID);
     }
 }