Example #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientController"/> class.
        /// </summary>
        public PatientLedgerController()
        {
            this.patientLedgerManager = new PatientLedgerIt2Manager();
            if (!this.User.Identity.IsAuthenticated)
            {
                return;
            }

            var authorizationTicketHelper = new AuthorizationTicketHelper();

            this.practiceLocationId = authorizationTicketHelper.GetPracticeLocationId();
        }
Example #2
0
 public PatientLedgerController(string officeNumber)
 {
     this.practiceLocationId   = officeNumber;
     this.companyId            = new AuthorizationTicketHelper().GetUserInfo().CompanyId;
     this.patientLedgerManager = new PatientLedgerIt2Manager();
 }