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