public IMyServices GetService(string service_id)
        {
            IMyServices           service             = kernel.Get <IMyServices>();
            IMyServicesController myServicesProcessor = kernel.Get <IMyServicesController>();

            query = string.Format("SELECT * FROM service WHERE service_id = '{0}'", service_id);
            var receivedData = msSqlDataAccess.GetDataList(query, service).ToArray();

            service = myServicesProcessor.CreateService(receivedData);
            return(service);
        }
 public AppointmentProcessor()
 {
     appointmentDetails       = kernel.Get <IAppointmentDetails>();
     appointmentController    = kernel.Get <IAppointmentDetailsController>();
     dateController           = kernel.Get <IDateController>();
     myServicesController     = kernel.Get <IMyServicesController>();
     customerController       = kernel.Get <ICustomerController>();
     timeToEndOfWorkProcessor = kernel.Get <ITimeToEndOfWorkProcessor>();
     emailConfirmation        = kernel.Get <EmailConfirmation>();
     smsConfirmation          = kernel.Get <SmsConfirmation>();
 }
 public AppointmentDetailsController()
 {
     dateController       = kernel.Get <IDateController>();
     myServicesController = kernel.Get <IMyServicesController>();
     customerController   = kernel.Get <ICustomerController>();
 }