[Solved] cannot convert from ‘void’ to ‘project.Models.tblUserTypes.tblUsersTypeC’


Try this:

List<tblUsersTypeC> usertype = userToInsertList.Select(o => new tblUsersTypeC() 
    { 
        isPrivite = ((o.Counts.FollowedBy + o.Counts.Follows + o.Counts.Media) == 0), 
        UserName = o.Username, 
        WebsiteUrl = o.Website 
    }).ToList();

4

solved cannot convert from ‘void’ to ‘project.Models.tblUserTypes.tblUsersTypeC’