Hi
I am geting above error on return statement
public int UpdateStudentBreak(StudentsBreak student)
{
try
{
context.SubmitChanges();
return student.StudentId;
}
catch (Exception ex)
{
return 0;
}
}
Thanks
Amit MohantyPosted Apr 5, 2023, 12:42 PM
Try this