Exception #249
Unanswered
Giorgobiani-G
asked this question in
Q&A
Exception
#249
Replies: 1 comment 7 replies
-
The point of RestEase is that you don't implement the That said, from the code you posted, the What exact exception are you getting, and which line is throwing it? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello i have defined interface :
i have implementation here:
i have also ServiceCollectionExtensions i use RestEase.HttpClientFactory:
public static class ServiceCollectionExtensions
{
public static void AddGatewayServicesExtensions(this IServiceCollection services)
{
services.AddRestEaseClient("https://localhost:44372/api/v1");
}
}
[Route("api/v1/[controller]/[action]")]
[ApiController]
public class ItemController : ControllerBase
{
private readonly IItem _item;
Beta Was this translation helpful? Give feedback.
All reactions