Esempio n. 1
0
 public JsonResult SaveMobileAppDetails(MobileAppModel mobileappmodel)
 {
     if (airbornefrs.Framework.Utility.ValidateCaptcha(mobileappmodel.reCaptchaResponse).status == 1)
     {
         return(new JsonResult {
             Data = mobileappmodel.SaveDetails().status, JsonRequestBehavior = JsonRequestBehavior.AllowGet
         });
     }
     else
     {
         return(new JsonResult {
             Data = 3, JsonRequestBehavior = JsonRequestBehavior.AllowGet
         });
     }
 }
Esempio n. 2
0
        public void RegisterMobileAppInstallFromForm([FromForm] MobileAppModel model)
        {
            var currentUser = UserManager.GetUsers(SecurityContext.CurrentAccount.ID);

            MobileAppInstallRegistrator.RegisterInstall(currentUser.Email, model.Type);
        }
Esempio n. 3
0
        public ActionResult MobileApplication()
        {
            MobileAppModel objMA = new MobileAppModel();

            return(View(objMA));
        }
Esempio n. 4
0
 private async Task SelectItem(MobileAppModel mobileAppModel)
 {
     await _navigation.NavigateAsync(mobileAppModel.ViewName);
 }