Esempio n. 1
0
        /// <summary>
        /// Contact Parson
        /// </summary>
        /// <param name="choiceReposiroty"></param>
        /// <param name="mapper"></param>
        /// <param name="sharePointService"></param>
        /// <param name="configuration"></param>

        public ContactPersonController(IChoiceRepository choiceReposiroty, IMapper mapper, ISharepointService sharePointService, IConfiguration configuration)
        {
            _choiceRepoistory  = choiceReposiroty;
            _mapper            = mapper;
            _sharePointService = sharePointService;
            _configuration     = configuration;
        }
Esempio n. 2
0
 /// <summary>
 /// Partner controller
 /// </summary>
 public PartnerController(IChoiceRepository choiceReposiroty, IMapper mapper, ISharepointService sharePointService, IConfiguration configuration, LinkGenerator linkGenerator)
 {
     _choiceRepoistory  = choiceReposiroty;
     _mapper            = mapper;
     _sharePointService = sharePointService;
     _configuration     = configuration;
     _linkGenerator     = linkGenerator;
 }
        public Form1(ISharepointService sharepointService, IExcelService excelService)
        {
            _sharepointService = sharepointService;
            _excelService = excelService;

            InitializeComponent();

            txtSite.TextChanged += ChangeGuiState;
            cbList.SelectedIndexChanged += ChangeGuiState;
            Shown += ChangeGuiState;
        }
 public ExcelConnectionUpdatorService(ExcelConnectionInfo connectionInfo, ISharepointService sharepointService)
 {
     _connectionInfo    = connectionInfo;
     _sharepointService = sharepointService;
 }