1/21/2016 11:06:19 AM
145
Reputation
18
Total posts
Hi,
Reason why you are getting this error is because NoteRepository is not subclass of GenericRepository (which implements IGenericRepository and is used to access DAL layer).
If you want to save note in your current implementation you should resolve IGenericRepository and save entity with it like so:
DependencyInjectionFactory.Resolve<
IGenericRepository
>().SaveEntity(note);
Please let us know if you have any other questions.
Regards,
Zeljko
Rating history (Content is rated 0.00 of 0 vote(s).)
Shows who have rated the content, and the rating score.