Example #1
0
        public ActionResult Save(AdminUser objAdminUser)
        {
            bool status = false;

            if (ModelState.IsValid)
            {
                AdminUserBLL objAdminUserBll = new AdminUserBLL();

                objAdminUserBll.CreateAdminUser(objAdminUser);

                status = true;
            }
            return(new JsonResult {
                Data = new { status = status }
            });
        }