public IHttpActionResult Test(string registrationId)
        {
            var notification = new PushNotificationData
            {
                Action = 1,
                Message = "Test notification",
                Data = new
                {
                    payload = "Test payload"
                }
            };

            //new GcmProvider().CreateNotification(notification, registrationId).SendAsync().Wait();

            return Ok(new ApiResponse(200, notification));
        }
        public IHttpActionResult Test(string registrationId)
        {
            var notification = new PushNotificationData
            {
                Action = 1,
                Message = "Test notification",
                Data = new
                {
                    payload = "Test payload"
                }
            };

            //new GcmProvider().CreateNotification(notification, registrationId).SendAsync().Wait();

            new GcmProvider().CreateNotification(new PushNotificationData
            {
                Action = 2,
                Message = "Added to the team!",
                Data = new
                {
                    GameId = 1
                }
            }, "APA91bFeh8G-XN6hi1ljiX5AKLjLfOI4wWqwGQl-zNCuejn-hFyhd8_YJC7kFY-1zQwk_Qj_yQwZNnbzkT7noSLRr_JUUVkGifyzGj5C1cb0bAebbfBadHkKftu973RfTWeNReQV2M_I").SendAsync().Wait();

            Thread.Sleep(100);

            new GcmProvider().CreateNotification(new PushNotificationData
            {
                Action = 10,
                Message = "Added to the team!",
                Data = new
                {
                    Url = this.db.RTCs.First().Url
                }
            }, "APA91bFeh8G-XN6hi1ljiX5AKLjLfOI4wWqwGQl-zNCuejn-hFyhd8_YJC7kFY-1zQwk_Qj_yQwZNnbzkT7noSLRr_JUUVkGifyzGj5C1cb0bAebbfBadHkKftu973RfTWeNReQV2M_I").SendAsync().Wait();  

            return Ok(new ApiResponse(200, notification));
        }