/// <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(); }
public PatientLedgerController(string officeNumber) { this.practiceLocationId = officeNumber; this.companyId = new AuthorizationTicketHelper().GetUserInfo().CompanyId; this.patientLedgerManager = new PatientLedgerIt2Manager(); }