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); }
public bool Destroy(object Id) { return(UserLog.Destroy(Id) == 1); }
public bool Delete(object Id) { return(UserLog.Delete(Id) == 1); }