Наследование: IUserService
Пример #1
0
 public RibbitViewPage()
 {
     DataContext = new Context();
     Users = new UserService(DataContext);
     Security = new SecurityService(Users);
     CurrentUser = Security.GetCurrentUser();
 }
 public RibbitControllerBase()
 {
     DataContext = new Context();
     Users = new UserService(DataContext);
     Ribbits = new RibbitService(DataContext);
     Security = new SecurityService(Users);
     CurrentUser = Security.GetCurrentUser();
     Profiles = new UserProfileService(DataContext);
 }