public IEnumerable updateStudent(int stdId ,string StudentName, string StudentEmail, string Phone, string Address)
{
return objapi.USP_Student_Update(stdId, StudentName, StudentEmail, Phone, Address).AsEnumerable();
}
Severity Code Description Project File Line Suppression State
Error CS0266 Cannot implicitly convert type 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.IEnumerable'. An explicit conversion exists (are you missing a cast?) shanuWebAPICRUDSP C:\PauloTinel\ProjetoscSharpMvc\EasyTalk\shanuWebAPICRUDSP\Controllers\studentsController.cs 41 Active

Bryian TanRank #396 · 6.3K reputationPosted Feb 5, 2017, 11:08 AM EST