C++ CLI Task IEnumerable shows Error not a valid Generic argument
Arathi Jinde
6
Reputation points
Hi ,
MyRepository<MyModel, String>^ pr = new PatientRepository<PatientModel, String>();
Task<IEnumerable<MyModel>^> FindAsync(String^ key)
{
return pr->FindAsync(key);
}
here Task IEnemurable<MyModel> shows not a valid generic argument
how to resolve this
Thanks,