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