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