public PatnerTransactLog insertRemitaObj(PatnerTransactLog patnersLog) { try { uvDb.PatnerTransactLogs.Add(patnersLog); uvDb.SaveChanges(); } catch (Exception ex) { WebLog.Log(ex.Message); } return(patnersLog); }
public int InsertPatnerTransactLog(PatnerTransactLog pt) { try { uvDb.PatnerTransactLogs.Add(pt); uvDb.SaveChanges(); return(pt.ID); } catch (Exception ex) { WebLog.Log(ex.Message.ToString()); return(ex.Message.Count()); } }