Esempio n. 1
0
 /// <inheritdoc/>
 public TranslationHelperController(
     IContextService contextService,
     IMembershipService membershipService,
     IUCodeFirstHelper codeFirstHelper)
     : base(contextService, membershipService, codeFirstHelper)
 {
 }
 /// <inheritdoc />
 public DataTypeController(
     IContextService contextService,
     IMembershipService membershipService,
     IUCodeFirstHelper codeFirstHelper)
     : base(contextService, membershipService, codeFirstHelper)
 {
 }
Esempio n. 3
0
 /// <inheritdoc />
 public AdminSurfaceController(
     IContextService contextService,
     IMembershipService membershipService,
     IUCodeFirstHelper codeFirstHelper)
     : base(contextService, membershipService, codeFirstHelper)
 {
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseSurfaceController"/> class.
 /// </summary>
 /// <param name="contextService">
 /// The context Service.
 /// </param>
 /// <param name="membershipService">
 /// The membership Service.
 /// </param>
 /// <param name="codeFirstHelper">
 /// The code First Helper.
 /// </param>
 protected BaseSurfaceController(
     IContextService contextService,
     IMembershipService membershipService,
     IUCodeFirstHelper codeFirstHelper)
 {
     ContextService    = contextService;
     MembershipService = membershipService;
     CodeFirstHelper   = codeFirstHelper;
 }
Esempio n. 5
0
 /// <inheritdoc/>
 public MemberSurfaceController(
     IContextService contextService,
     IMembershipService membershipService,
     IUCodeFirstHelper codeFirstHelper,
     IUserService userService)
     : base(contextService, membershipService, codeFirstHelper)
 {
     this.userService = userService;
 }
Esempio n. 6
0
 /// <inheritdoc />
 public QuickNavigatorWidgetController(
     IContextService contextService,
     IMembershipService membershipService,
     IUCodeFirstHelper codeFirstHelper,
     IEnumerable <IQuickNavigatorSet> quickNavigatorSets)
     : base(contextService, membershipService, codeFirstHelper)
 {
     this.quickNavigatorSets = quickNavigatorSets;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="BaseApiController"/> class.
        /// </summary>
        /// <param name="contextService">
        /// The context Service.
        /// </param>
        /// <param name="membershipService">
        /// The membership Service.
        /// </param>
        /// <param name="codeFirstHelper">
        /// The code First Helper.
        /// </param>
        protected BaseApiController(
            IContextService contextService,
            IMembershipService membershipService,
            IUCodeFirstHelper codeFirstHelper)
        {
            ContextService   = contextService;
            MembershipHelper = membershipService;
            CodeFirstHelper  = codeFirstHelper;

            var jsonFormat = new JsonMediaTypeFormatter();

            jsonFormat.SerializerSettings = DependencyResolver.Current.GetService <JsonSerializerSettings>();
            MediaTypeFormatter            = jsonFormat;
        }
 /// <inheritdoc />
 public WidgetPriceCalculatorController(IContextService contextService, IMembershipService membershipService, IUCodeFirstHelper codeFirstHelper)
     : base(contextService, membershipService, codeFirstHelper)
 {
 }
 /// <inheritdoc />
 public EventController(IContextService contextService, IMembershipService membershipService, IUCodeFirstHelper codeFirstHelper, IEventRepository eventRepository, IMailer mailer)
     : base(contextService, membershipService, codeFirstHelper)
 {
     EventRepository = eventRepository;
     Mailer          = mailer;
 }
Esempio n. 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CourseSurfaceController"/> class.
 /// </summary>
 /// <param name="contextService">
 /// The context service.
 /// </param>
 /// <param name="membershipService">
 /// The membership service.
 /// </param>
 /// <param name="codeFirstHelper">
 /// The code First Helper.
 /// </param>
 /// <param name="courseRepository">
 /// The course repository.
 /// </param>
 public CourseSurfaceController(IContextService contextService, IMembershipService membershipService, IUCodeFirstHelper codeFirstHelper, ICourseRepository courseRepository) : base(contextService, membershipService, codeFirstHelper)
 {
     this.courseRepository = courseRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NotificationController"/> class.
 /// </summary>
 /// <param name="contextService">
 /// The context service.
 /// </param>
 /// <param name="membershipService">
 /// The membership service.
 /// </param>
 /// <param name="codeFirstHelper">
 /// The code First Helper.
 /// </param>
 /// <param name="notificationRepository">
 /// The notification Repository.
 /// </param>
 public NotificationController(IContextService contextService, IMembershipService membershipService, IUCodeFirstHelper codeFirstHelper, INotificationRepository notificationRepository) : base(contextService, membershipService, codeFirstHelper)
 {
     this.notificationRepository = notificationRepository;
 }