public async Task <IActionResult> _InsertAsync(UserAccessDto userAccessDto) { await AppUserDtoInsertValidationAsync(userAccessDto); if (HasError) { return(RedirectToAction("Index")); } await _userAccessService.InsertAsync(userAccessDto); SuccessMessage("UserAccess user is success"); return(RedirectToAction("Index")); }