public ArticlesController(IArticleService articleService, IMappingService mappingService, IStoreService storeService, IUserService userService, IUtilitiesService utils)
        {
            if (articleService == null)
            {
                throw new ArgumentNullException();
            }

            if (mappingService == null)
            {
                throw new ArgumentNullException();
            }

            if (storeService == null)
            {
                throw new ArgumentNullException();
            }

            if (userService == null)
            {
                throw new ArgumentNullException();
            }

            if (utils == null)
            {
                throw new ArgumentNullException();
            }

            this.articleService = articleService;
            this.mappingService = mappingService;
            this.storeService   = storeService;
            this.userService    = userService;
            this.utils          = utils;
        }
 public OrdersManagerController(IUserService userService, IMappingService mappingService, IRequestService requestService, IUtilitiesService utils)
 {
     this.userService    = userService;
     this.mappingService = mappingService;
     this.requestService = requestService;
     this.utils          = utils;
 }
 public ManageController(IRequestService requestService, IUserService userService, IStoryService storyService, IUtilitiesService utils)
 {
     this.requestService = requestService;
     this.userService    = userService;
     this.storyService   = storyService;
     this.utils          = utils;
 }
Пример #4
0
        public GalleryController(IGalleryImageService galleryService, IMappingService mappingService, IUserService userService, IUtilitiesService utils)
        {
            if (galleryService == null)
            {
                throw new ArgumentNullException();
            }

            if (mappingService == null)
            {
                throw new ArgumentNullException();
            }

            if (userService == null)
            {
                throw new ArgumentNullException();
            }

            if (utils == null)
            {
                throw new ArgumentNullException();
            }

            this.galleryService = galleryService;
            this.mappingService = mappingService;
            this.userService    = userService;
            this.utils          = utils;
        }
Пример #5
0
 public NoteService(
     MomentoDbContext context,
     IUtilitiesService utilService,
     ITrackableService trackableService)
 {
     this.context          = context;
     this.utilService      = utilService;
     this.trackableService = trackableService;
 }
Пример #6
0
        public StoreItemsController(IStoreService storeService, IMappingService mappingService, IUtilitiesService utils)
        {
            if (storeService == null)
            {
                throw new ArgumentNullException();
            }

            if (mappingService == null)
            {
                throw new ArgumentNullException();
            }

            if (utils == null)
            {
                throw new ArgumentNullException();
            }

            this.storeService   = storeService;
            this.mappingService = mappingService;
            this.utils          = utils;
        }
 public StoreControllerMock(IStoreService storeService, IMappingService mappingService, IUtilitiesService utils)
     : base(storeService, mappingService, utils)
 {
 }
Пример #8
0
 public UsersController(IUsersService usersService, ITokenService tokenAuthService, IUtilitiesService utilitiesService)
 {
     this.usersService     = usersService;
     this.tokenAuthService = tokenAuthService;
     this.utilitiesService = utilitiesService;
 }
Пример #9
0
 public UsersService(ApplicationDbContext dbContext, IUtilitiesService utilitiesService)
 {
     this.dbContext        = dbContext;
     this.utilitiesService = utilitiesService;
 }
Пример #10
0
 public ScoreController(IUtilitiesService utilitiesService, IScoreService scoreService)
 {
     this.utilitiesService = utilitiesService;
     this.scoreService     = scoreService;
 }
Пример #11
0
 public UserManagerController(IUserService userService, IMappingService mappingService, IUtilitiesService utils)
 {
     this.userService    = userService;
     this.mappingService = mappingService;
     this.utils          = utils;
 }
Пример #12
0
 public void Setup()
 {
     this.utilitiesService = new UtilitiesService();
 }
Пример #13
0
 public GalleryControllerMock(IGalleryImageService galleryService, IMappingService mappingService, IUserService userService, IUtilitiesService utils)
     : base(galleryService, mappingService, userService, utils)
 {
 }
Пример #14
0
 public StoriesControllerMock(IStoryService storyService, IMappingService mappingService, IUserService userService, IUtilitiesService utils)
     : base(storyService, mappingService, userService, utils)
 {
 }
Пример #15
0
 public FilesController(IUtilitiesService utilitiesService)
 {
     _utilitiesService = utilitiesService;
 }
Пример #16
0
 public ArticleControllerMock(IArticleService articleService, IMappingService mappingService, IStoreService storeService, IUserService userService, IUtilitiesService utils)
     : base(articleService, mappingService, storeService, userService, utils)
 {
 }