Beispiel #1
0
 public PageController(ILikeItData data, IDropDownListPopulator populator, ISanitizer sanitizer, ImageController imageController)
     : base(data)
 {
     this.populator       = populator;
     this.random          = new Random();
     this.sanitizer       = sanitizer;
     this.imageController = imageController;
 }
Beispiel #2
0
 public PageController(ILikeItData data, IDropDownListPopulator populator, ISanitizer sanitizer, ImageController imageController)
     : base(data)
 {
     this.populator = populator;
     this.random = new Random();
     this.sanitizer = sanitizer;
     this.imageController = imageController;
 }
Beispiel #3
0
        public AllSupplementsController(ISupplementsService supplements, IDropDownListPopulator populator)
        {
            Guard.WhenArgument(supplements, "supplements").IsNull().Throw();
            Guard.WhenArgument(populator, "populator").IsNull().Throw();

            this.supplements = supplements;
            this.populator   = populator;
        }
Beispiel #4
0
        public SupplementsController(ISupplementsService supplements, IDropDownListPopulator populator, IEfGenericRepository <ApplicationUser> repoUser)
            : base(repoUser)
        {
            Guard.WhenArgument(supplements, "supplements").IsNull().Throw();
            Guard.WhenArgument(populator, "populator").IsNull().Throw();

            this.supplements = supplements;
            this.populator   = populator;
        }
Beispiel #5
0
 public IrregularityController(
     IIrregularityService irregularities,
     IDropDownListPopulator populator,
     IPositionService positions,
     IImageService images,
     ICommentService comments,
     IRatingService ratings)
 {
     this.irregularities = irregularities;
     this.populator      = populator;
     this.positions      = positions;
     this.images         = images;
     this.comments       = comments;
     this.ratings        = ratings;
 }
Beispiel #6
0
 public AdminPostsController(IDropDownListPopulator populator, IAdministrationPostsService adminPosts)
 {
     this.populator  = populator;
     this.adminPosts = adminPosts;
 }
Beispiel #7
0
 public RolesController(IGetATaxiData data, IDropDownListPopulator populator)
     : base(data, populator)
 {
     this.services = new AccountService(data);
 }
 public ProjectsController(IUserService users, IProjectService projects, IDropDownListPopulator populator)
 {
     this.projects  = projects;
     this.populator = populator;
     this.users     = users;
 }
 public SubCategoriesController(IOMXData data, IDropDownListPopulator populator)
     : base(data)
 {
     this.populator = populator;
 }
Beispiel #10
0
 public BaseController(IGetATaxiData data, IDropDownListPopulator populator)
 {
     this.Data      = data;
     this.populator = populator;
 }
 public MainController(IGetATaxiData data, IDropDownListPopulator populator, IOrderBridge bridge)
     : base(data, populator)
 {
     this.services = new AccountService(data);
     this.bridge   = bridge;
 }
 public DrugsController(IReprDrugsService reprDrugsService, IHtmlService htmlService, UserManager <User> userManager, IDropDownListPopulator populator)
     : base(userManager, populator)
 {
     this.reprDrugsService = reprDrugsService;
     this.htmlService      = htmlService;
 }
Beispiel #13
0
 public SideEffectsController(IReprSideEffectsService reprSideEffectService, UserManager <User> userManager, IDropDownListPopulator populator)
     : base(userManager, populator)
 {
     this.reprSideEffectService = reprSideEffectService;
 }
Beispiel #14
0
 public HomeController(IDropDownListPopulator populator, IIrregularityService irregularities)
 {
     this.populator      = populator;
     this.irregularities = irregularities;
 }
Beispiel #15
0
 public SnippetsController(ISnippyData data, IDropDownListPopulator populator)
     : base(data)
 {
     this.populator = populator;
 }
Beispiel #16
0
 public PrivateController(ILikeItData data, IDropDownListPopulator populator)
     : base(data)
 {
     this.populator = populator;
 }
 public TicketsController(ITicketSystemData data, IDropDownListPopulator populator)
     : base(data)
 {
     this.populator = populator;
 }
Beispiel #18
0
 public ModeratorPostsController(IDropDownListPopulator populator, IAdministrationPostsService moderatorPosts)
 {
     this.populator      = populator;
     this.moderatorPosts = moderatorPosts;
 }
Beispiel #19
0
 public AdminRoleManagerController(IDropDownListPopulator populator, MagazineProjectDbContext context)
 {
     this.populator   = populator;
     this.Context     = context;
     this.userManager = new UserManager <User>(new UserStore <User>(this.Context));
 }
Beispiel #20
0
 public BlogController(IBlogPostService manageBlogPostService, IDropDownListPopulator populator)
 {
     _manageBlogPostService = manageBlogPostService ?? throw new ArgumentNullException(nameof(manageBlogPostService));
     _populator             = populator ?? throw new ArgumentNullException(nameof(populator));
 }
Beispiel #21
0
 public BaseReprController(UserManager <User> userManager, IDropDownListPopulator populator)
 {
     this.userManager = userManager;
     this.populator   = populator;
 }
 public TicketsController(ITicketSystemData data, IDropDownListPopulator populator)
     : base(data)
 {
     this.populator = populator;
 }
 public AccountController(IDropDownListPopulator populator)
 {
     this._populator = populator;
 }
Beispiel #24
0
 public WriterPostsController(IDropDownListPopulator populator, IWriterPostsService writerPosts)
 {
     this.populator   = populator;
     this.writerPosts = writerPosts;
 }
Beispiel #25
0
 public TaxiesController(IGetATaxiData data, IDropDownListPopulator populator)
     : base(data, populator)
 {
     this.TaxiService    = new TaxiService(data);
     this.AccountService = new AccountService(data);
 }
Beispiel #26
0
 public ArticlesController(IArticlesForumData data, IDropDownListPopulator populator)
     : base(data)
 {
     this.populator = populator;
 }
 public PrivateController(ILikeItData data, IDropDownListPopulator populator)
     : base(data)
 {
     this.populator = populator;
 }
 public ProjectsController(IUserService users, IProjectService projects, IDropDownListPopulator populator)
 {
     this.projects = projects;
     this.populator = populator;
     this.users = users;
 }
 public TaxiStandsController(IGetATaxiData data, IDropDownListPopulator populator)
     : base(data, populator)
 {
     this._service = new TaxiStandService(data);
 }
Beispiel #30
0
 public DistrictsController(IGetATaxiData data, IDropDownListPopulator populator)
     : base(data, populator)
 {
 }
 public MyDislikesController(ILikeItData data, IDropDownListPopulator populator)
     : base(data, populator)
 {
 }
 public NeedController(IUsersService users, INeedService needs, IDropDownListPopulator populator)
     : base(users)
 {
     this.needs = needs;
     this.populator = populator;
 }
 public MyPagesController(ILikeItData data, IDropDownListPopulator populator)
     : base(data, populator)
 {
 }
 public GiftController(IUsersService users, IGiftService gifts, IDropDownListPopulator populator)
     : base(users)
 {
     this.gifts = gifts;
     this.populator = populator;
 }