/// <summary> /// Set the update info on a model. /// </summary> /// <param name="model">The model to be updated.</param> /// <param name="user">The user did the action.</param> protected void SetUpdated(BaseTrackedModel model, Guid user) { this.SetUpdated(model, user.ToString()); }
/// <summary> /// Set the update info on a model. /// </summary> /// <param name="model">The model to be updated.</param> /// <param name="user">The user did the action.</param> protected void SetUpdated(BaseTrackedModel model, string user) { model.UpdatedBy = user; model.UpdateDate = DateTime.UtcNow; }