/// <summary>
 /// Get the last X events
 /// </summary>
 /// <param name="number">Number of results to get</param>
 /// <returns>List of EventDefinitions</returns>
 public IList <EventDefinition> GetLastEventDefinitions(int number)
 {
     return(_eventDefinitionRepository.GetLastWithUserInfo(this.GetRegisteredUserId(), number));
 }