public async Task <IActionResult> GetJson() { var json = await rolesPermissionsAdminService.GetRolesJsonAsync(); return(Ok(new { Json = json })); }
public async void ShouldGetRolesJson() { var rolesService = new RolesPermissionsAdminService(dbConnection, environment); Assert.NotEqual(string.Empty, await rolesService.GetRolesJsonAsync()); }