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