public UserActionLog(UserActionBase baseAction)
 {
     UserID = baseAction.UserID;
     UserActionId = (int)baseAction.GetUserActionType();
     Message = baseAction.ToString();
     Timestamp = DateTime.UtcNow;
 }
 public void LogUserAction(UserActionBase action)
 {
     _auditRepository.LogUserAction(action);
 }