public static EventServices GetInstance()
        {
            if (instance == null)
            {
                instance = new EventServices();
            }

            return instance;
        }
        protected override void Initialize(System.Web.Routing.RequestContext requestContext)
        {
            accountServices = AccountServices.GetInstance();
            eventServices = EventServices.GetInstance();
            apiServices = ApiServices.GetInstance();
            commentServices = CommentServices.GetInstance();

            base.Initialize(requestContext);
        }
 private EventServices getEventService()
 {
     if (eventService == null) eventService = EventServices.GetInstance();
     return eventService;
 }
 protected override void Initialize(RequestContext requestContext)
 {
     eventServices = EventServices.GetInstance();
     base.Initialize(requestContext);
 }
 public OmniService()
 {
     eventServices = new EventServices();
     accountServices = new AccountServices();
 }