Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AppointmentController"/> class.
        /// </summary>
        public AppointmentController()
        {
            if (User.Identity.IsAuthenticated)
            {
                var authorizationTicketHelper = new AuthorizationTicketHelper();

                this.companyId = authorizationTicketHelper.GetCompanyId();
            }

            this.appointmentManager = new AppointmentManager();
            this.examServiceManager = new ExamServiceManager();
        }
Exemplo n.º 2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="ExamServiceController" /> class.
 /// </summary>
 public ExamServiceController()
 {
     this.examServiceManager = new ExamServiceManager();
 }