4
Answers

Convert of List of Repository to List of Model

Geni Lou

Geni Lou

3y
856
1
I try to convert a list of repository just like the code below it doesn't work and encounter error message. 
 Cannot convert type 'System.Collection.Generic.List<CategoryRepository>' to 'System.Collection.List<CategoryModel>'
(List<CategoryModel>)repoList 
 
 
Answers (4)