Inheritance: BaseRepository
Exemplo n.º 1
0
 public UserController()
 {
     _userRepository = new UserRepository();
 }
Exemplo n.º 2
0
 public ActionResult UserProfile(User user)
 {
     var repo = new UserRepository();
     repo.InsertUserProfile(user);
     return View();
 }
Exemplo n.º 3
0
 public GroupController()
 {
     _groupRepository = new GroupRepository();
     _userRepository  = new UserRepository();
 }