Click here to Skip to main content
16,004,927 members

Comments by ynettep (Top 6 by date)

ynettep 10-Jun-17 23:08pm View    
MVC framework. "SessionName" is declared in the Sessions model, but .IsChecked is declared in TeachersRegistrationModel
ynettep 20-Jun-16 10:24am View    
Thank you for your help.
ynettep 20-Jun-16 10:22am View    
Thank you for your feedback and assistance.
ynettep 13-Jun-16 13:30pm View    
return infos.Where(x => x.Username == infoName).FirstOrDefault();
I added it at the end and I'm no longer receiving the error message, but if model state is false it's not returning my error message for invalid info. I moved .FirstOrDefault to where you suggested and my error message still does not display. The page just reloads when submit..

Thank you for your help..
ynettep 13-Jun-16 9:57am View    
Invalid Operation Exception was unhandled by user code.
(Sequence contains no elements)

When I login with credentials the are true no issue, but when I enter invalid credentials to test that's when I get the error.