Esempio n. 1
0
 public void RegisterInstall(string userEmail, MobileAppType appType)
 {
     if (string.IsNullOrEmpty(userEmail))
     {
         return;
     }
     registrator.RegisterInstall(userEmail, appType);
     cache.Insert(GetCacheKey(userEmail, null), true, cacheExpiration);
     cache.Insert(GetCacheKey(userEmail, appType), true, cacheExpiration);
 }
        public void RegisterMobileAppInstall(MobileAppType type)
        {
            var currentUser = CoreContext.UserManager.GetUsers(SecurityContext.CurrentAccount.ID);

            mobileAppRegistrator.RegisterInstall(currentUser.Email, type);
        }