public void Insert(int?EmployeeID, int?ContactID, DateTime?LogDate) { UserLog item = new UserLog(); item.EmployeeID = EmployeeID; item.ContactID = ContactID; item.LogDate = LogDate; item.Save(UserName); }
public void Update(int Id, int?EmployeeID, int?ContactID, DateTime?LogDate) { UserLog item = new UserLog(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.EmployeeID = EmployeeID; item.ContactID = ContactID; item.LogDate = LogDate; item.Save(UserName); }