示例#1
0
 public void GetAllMenu(int id)
 {
     try
     {
         var response = _Kpi.GetDetail(id);
         Console.WriteLine(response);
     }
     catch (Exception ex)
     {
         Assert.True(false, ex.Message);
     }
 }
示例#2
0
 public IActionResult GetDetail(int id)
 {
     return(Ok(_kpi.GetDetail(id)));
 }