Ejemplo 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
         });
     }
 }
Ejemplo n.º 2
0
        public void RegisterMobileAppInstallFromForm([FromForm] MobileAppModel model)
        {
            var currentUser = UserManager.GetUsers(SecurityContext.CurrentAccount.ID);

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

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