Ejemplo n.º 1
0
        public async Task <IActionResult> Add()
        {
            var roles = await _roleService.GetListByPageAsync(1, 100);

            ViewBag.Roles = roles;
            return(View());
        }