public void GetActiveRoleList() { try { var response = _role.GetActiveRoleList(); Console.WriteLine(response); } catch (Exception ex) { Assert.True(false, ex.Message); } }
public IActionResult GetActiveRoleList() { return(Ok(_role.GetActiveRoleList())); }