Пример #1
0
 public LocalitiesController(
     Services.Locality.LocalityService localityService,
     Services.County.CountyService countyService,
     IMapper mapper
     ) :
     base(mapper)
 {
     this.localityService = localityService;
     this.countyService   = countyService;
 }
Пример #2
0
 public UsersController(IMapper mapper,
                        Services.User.UserService userService,
                        Services.CurrentUser currentUser,
                        Services.FriendShip.FriendshipService friendshipService,
                        Services.InterestsUsers.InterestsUsersService interestsUsersService,
                        Services.County.CountyService countyService,
                        Services.Interest.InterestService interestService,
                        Services.Album.AlbumService albumService,
                        Services.Photo.PhotoService photoService)
     : base(mapper)
 {
     this.userService           = userService;
     this.currentUser           = currentUser;
     this.friendshipService     = friendshipService;
     this.interestsUsersService = interestsUsersService;
     this.countyService         = countyService;
     this.interestService       = interestService;
     this.albumService          = albumService;
     this.photoService          = photoService;
     PageSize = 50;
 }
Пример #3
0
 public AccountController(Services.County.CountyService countyService, Services.User.UserAccountService userAccountService, IMapper imapper)
     : base(imapper)
 {
     this.countyService      = countyService;
     this.userAccountService = userAccountService;
 }