Task ListT showing error Xamarin

2

I'm creating a Task List

asked by anonymous 08.06.2018 / 04:17

1 answer

2

As I mentioned in the comments, if you intend to use generics, the declaration of the method is wrong, just missing the generic type specification.

Change signature to the following that should resolve:

public async Task<List<TModel>>MetodoPostTeste<TModel>(string RouteCommand, params object[] args)
{
    ...
}

I hope I have helped.

    
09.06.2018 / 20:28