public static void AddAction(UserAction action) { action.UserName = CurrentUser.Name; action.UserId = CurrentUser.Id; PlayoutRepository.AddAction(action); }