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