public AppointmentsController(
     IAppointmentService appointmentService,
     IServiceSupplyService serviceSupplyService,
     IShiftCenterMessageService polyclinicMessageService,
     IPlivoService plivoService,
     IWorkContext workContext) : base(workContext)
 {
     _appointmentService       = appointmentService;
     _serviceSupplyService     = serviceSupplyService;
     _polyclinicMessageService = polyclinicMessageService;
     _plivoService             = plivoService;
 }
 public AppointmentsManager(BanobatDbContext dbContext,
                            IPlivoService plivoService,
                            IAppointmentService appointmentService,
                            IDoctorServiceManager doctorServiceManager,
                            IIPAsManager iPAsManager,
                            IWorkContext workContext,
                            INotificationService notificationService,
                            IOptions <AppSettings> settings,
                            IScheduleManager scheduleManager,
                            IKurtenameSmsService smsService)
 {
     _dbContext            = dbContext;
     _plivoService         = plivoService;
     _appointmentService   = appointmentService;
     _doctorServiceManager = doctorServiceManager;
     _iPAsManager          = iPAsManager;
     _workContext          = workContext;
     _notificationService  = notificationService;
     _settings             = settings;
     _scheduleManager      = scheduleManager;
     _smsService           = smsService;
 }