/// <summary>
 /// Get Events count filtered by OrganizerId and title
 /// </summary>
 /// <param name="organizerId">Organizer Id</param>
 /// <param name="filter">filter applied to search</param>
 /// <returns>Event Count</returns>
 public int GetEventDefinitionCountByOrganizerId(int organizerId, string filter)
 {
     return(_eventDefinitionRepository.GetCountByOrganizerId(organizerId, filter));
 }