//private void LogChange(int userId, ThingAction action) //{ // var log = new ThingLog(userId, this.Id); // log.Action = action; // this.History.Add(log); //} private void LogChange(User user, ThingAction action) { var log = new ThingLog(user, this); log.Action = action; this.History.Add(log); }
//private void LogChange(int userId, ThingAction action) //{ // var log = new ThingLog(userId, this.Id); // log.Action = action; // this.History.Add(log); //} private void LogChange(User user, ThingAction action) { var log = new ThingLog(user, this); log.Action = action; this.History.Add(log); }