Originally posted by Freaki Li Cuatre
View Post
It's been a while since I've used EF, moved to using PetaPoco or Dapper a while back but can't you enforce referential integrity using EF?
Why is it so hard to fix the cascading delete issue?
What's so wrong with using the repository in the controller? Get the data, stuff it into a viewmodel and pass to the view, doesn't seem that bad. Though I tend to go through a service layer first.
I've not used angularJs but funnily enough was going to start looking into it.
Comment