public ActionResult AddNewUser()
        {
            ViewBag.AlreadyExists = false;
            ViewBag.AllRoles      = new SelectList(ApplicationRole.GetAll().Where(a => a.Name == E_Role.Admin.ToString()), "Id", "Name");
            ApplicationUser _item = new ApplicationUser();

            return(View(_item));
        }
        public ActionResult ApplicationRoles_Read([DataSourceRequest] DataSourceRequest request)
        {
            IQueryable <ApplicationRole> applicationroles = ApplicationRole.GetAll().AsQueryable();
            DataSourceResult             result           = applicationroles.ToDataSourceResult(request, applicationRole => new
            {
                Id        = applicationRole.Id,
                Name      = applicationRole.Name,
                IsDeleted = applicationRole.IsDeleted,
                CreatedOn = applicationRole.CreatedOn,
            });

            return(Json(result));
        }