/// <summary>
        /// Initializes a new instance of the <see cref="HelpDeskService" /> class.
        /// </summary>
        /// <param name="adwService">Adw service for retrieving ADW data.</param>
        /// <param name="client">Client for interacting with WCF services.</param>
        /// <param name="cacheService">Cache service for interacting with cached data.</param>
        public HelpDeskService(IAdwService adwService, IClient client, ICacheService cacheService) : base(client, cacheService)
        {
            if (adwService == null)
            {
                throw new ArgumentNullException("adwService");
            }

            AdwService = adwService;
        }
示例#2
0
        /// <summary>
        /// Adw Lookup Controller constructor.
        /// </summary>
        /// <param name="adwAdminService">Adw Admin service.</param>
        /// <param name="adwService">Adw Service.</param>
        /// <param name="userService">User Service.</param>
        public AdwLookupController(IAdwAdminService adwAdminService, IAdwService adwService, IUserService userService)
            : base(userService, adwAdminService)
        {
            if (adwAdminService == null)
            {
                throw new ArgumentNullException("adwAdminService", "Adw Admin Service cannot be null.");
            }

            AdwAdminService = adwAdminService;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="InfrastructureController" /> class.
        /// </summary>
        /// <param name="userService">User service for retrieving user data.</param>
        /// <param name="adwService">Adw service for retrieving ADW data.</param>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="userService" /> is <c>null</c>.</exception>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="adwService" /> is <c>null</c>.</exception>
        public InfrastructureController(IUserService userService, IAdwService adwService)
        {
            if (userService == null)
            {
                throw new ArgumentNullException("userService");
            }

            if (adwService == null)
            {
                throw new ArgumentNullException("adwService");
            }

            UserService = userService;
            AdwService  = adwService;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="DefaultController" /> class.
        /// </summary>
        /// <param name="userService">User service for retrieving user data.</param>
        /// <param name="adwService">Adw service for retrieving ADW data.</param>
        /// <param name="bulletinService">Bulletin service for retrieving Bulletin data.</param>
        public DefaultController(IUserService userService, IAdwService adwService, IBulletinService bulletinService, INoticeboardService noticeboardService) : base(userService, adwService)
        {
            if (bulletinService == null)
            {
                throw new ArgumentNullException("bulletinService");
            }

            BulletinService = bulletinService;

            if (noticeboardService == null)
            {
                throw new ArgumentNullException("noticeboardService");
            }

            NoticeboardService = noticeboardService;
        }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VacancyController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public VacancyController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FundController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public FundController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
示例#7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransitionController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public TransitionController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
        /// <summary>
        ///
        /// </summary>
        /// <param name="dummyService">Dummy service for retrieving example data</param>
        /// <param name="userService">User service for retrieving user data.</param>
        /// <param name="adwService">Adw service for retrieving ADW data.</param>
        public ServerSideElementsController(IDummyService dummyService, IUserService userService, IAdwService adwService, IJobseekerSearchService jobseekerSearchService)
            : base(userService, adwService)
        {
            if (dummyService == null)
            {
                throw new ArgumentNullException("dummyService");
            }

            DummyService           = dummyService;
            JobseekerSearchService = jobseekerSearchService;
        }
示例#9
0
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public LayoutController(IUserService userService, IAdwService adwService)
     : base(userService, adwService)
 {
 }
示例#10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 /// <param name="exampleCaGenService">The example ca gen service.</param>
 ///// <param name="yourService">Your service for interacting with your data.</param>
 public DataAccessController(IUserService userService, IAdwService adwService, IDataAccessService exampleCaGenService)
     : base(userService, adwService)
 {
     this.exampleCaGenService = exampleCaGenService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="JobSeekerController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public JobSeekerController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
示例#12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ActivityController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public ActivityController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
 public PowerComponentsController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="DefaultController" /> class.
        /// </summary>
        /// <param name="provisioner">Provisioner service for emulating user</param>
        /// <param name="userService">User service for retrieving user data.</param>
        /// <param name="adwService">Adw service for retrieving ADW data.</param>
        public DefaultController(IProvisionerService provisioner, IUserService userService, IAdwService adwService) : base(userService, adwService)
        {
            ProvisionerService = provisioner;

            if (provisioner == null)
            {
                throw new ArgumentNullException("provisioner");
            }
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public CalendarController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkflowController" /> class.
 /// </summary>
 /// <param name="mappingEngine">AutoMapper mapping engine for mapping between types.</param>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public WorkflowController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultController" /> class.
 /// </summary>
 /// <param name="mappingEngine">AutoMapper mapping engine for mapping between types.</param>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public DefaultController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
示例#18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TablesControllerEx" /> class.
 /// </summary>
 /// <param name="mappingEngine">AutoMapper mapping engine for mapping between types.</param>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public TablesController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
示例#19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AjaxController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 /// <param name="addressService"></param>
 public AjaxController(IUserService userService, IAdwService adwService, IAddressService addressService, IJobseekerSearchService jobseekerSearchService)
     : base(userService, adwService)
 {
     AddressService         = addressService;
     JobseekerSearchService = jobseekerSearchService;
 }
示例#20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public PaymentController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultController" /> class.
 /// </summary>
 /// <param name="documentReportService">The document report service.</param>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 /// <exception cref="System.ArgumentNullException">documentReportService</exception>
 ///// <param name="yourService">Your service for interacting with your data.</param>
 public ReportController(IDocumentReportService documentReportService, IUserService userService, IAdwService adwService)
     : base(userService, adwService)
 {
     if (documentReportService == null)
     {
         throw new ArgumentNullException("documentReportService");
     }
     else
     {
         DocumentReportService = documentReportService;
     }
 }
示例#22
0
 public ValidationController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
示例#23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ElmahController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public ElmahController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
示例#24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DashboardController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public DashboardController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProviderController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public ProviderController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }
示例#26
0
 public TestPagedGridController(IUserService userService, IAdwService adwService)
     : base(userService, adwService)
 {
 }
示例#27
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="dummyService">Dummy service for retrieving example data</param>
        /// <param name="userService">User service for retrieving user data.</param>
        /// <param name="adwService">Adw service for retrieving ADW data.</param>
        public BasicFormElementsController(IDummyService dummyService, IUserService userService, IAdwService adwService) : base(userService, adwService)
        {
            if (dummyService == null)
            {
                throw new ArgumentNullException("dummyService");
            }

            DummyService = dummyService;
        }
示例#28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmployerController" /> class.
 /// </summary>
 /// <param name="userService">User service for retrieving user data.</param>
 /// <param name="adwService">Adw service for retrieving ADW data.</param>
 public EmployerController(IUserService userService, IAdwService adwService) : base(userService, adwService)
 {
 }