public DeviceDeactivationService(IConfiguration configuration)
        {
            var connString = configuration.GetConnectionString("mainDatabase");

            createDeactivateRequestProc    = new CreateDeactivateRequestProc(connString);
            getDeactivationRequestListProc = new GetDeactivationRequestListProc(connString);
        }
Esempio n. 2
0
        public DeviceDeactivationService(IConfiguration configuration)
        {
            var connString = configuration.GetConnectionString("mainDatabase");

            createDeactivateRequestProc    = new CreateDeactivateRequestProc(connString);
            getDeactivationRequestListProc = new GetDeactivationRequestListProc(connString);
            cancelDeactivateRequestProc    = new CancelDeactivateRequestProc(connString);
            updateRequestProc            = new UpdateRequestProc(connString);
            addDeviceToRequestProc       = new AddDeviceToRequestProc(connString);
            getRequestDeviceListProc     = new GetRequestDeviceListProc(connString);
            getDeactivateRequestProc     = new GetDeactivateRequestProc(connString);
            removeDeviceProc             = new RemoveDeviceProc(connString);
            updateDeviceFeeProc          = new UpdateDeviceFeeProc(connString);
            statusSummaryProc            = new StatusSummaryProc(connString);
            getRequestReportByStatusProc = new GetRequestReportByStatusProc(connString);
            updateRequestStatusProc      = new UpdateRequestStatusProc(connString);
            updateRequestReasonProc      = new UpdateRequestReasonProc(connString);
        }