Пример #1
0
 public ProjectLayoutController(IHostingEnvironment hostingEnv, IConfiguration Configuration, IProjectsData projectOperations, IAdminOperations operations)
 {
     _hostingEnv        = hostingEnv;
     _Configuration     = Configuration;
     _operations        = operations;
     _projectOperations = projectOperations;
 }
Пример #2
0
 public NotesController(IGetNotes noteService, ILogger <NotesController> logger, IAdminOperations adminService, ObjectValuesChecker checker)
 {
     _noteService  = noteService;
     _logger       = logger;
     _adminService = adminService;
     _checker      = checker;
 }
 public CommentsController(IAddComments commentService, ILogger <CommentsController> logger, IAdminOperations adminService, ObjectValuesChecker checker)
 {
     _commentService = commentService;
     _logger         = logger;
     _adminService   = adminService;
     _checker        = checker;
 }
Пример #4
0
 public RecommendationsController(IGetRecommendations recommendationService, ILogger <RecommendationsController> logger, IAdminOperations adminService, ObjectValuesChecker checker)
 {
     _recommendationService = recommendationService;
     _logger       = logger;
     _adminService = adminService;
     _checker      = checker;
 }
 public SpotlightsController(IGetSpotlights spotlightService, ILogger <SpotlightsController> logger, IAdminOperations adminService, ObjectValuesChecker checker)
 {
     _spotlightService = spotlightService;
     _logger           = logger;
     _adminService     = adminService;
     _checker          = checker;
 }
Пример #6
0
 public PatientController(IPatient objIPatient, IAdminOperations objIAdminOperations,
                          IHospitalMaster objIHospitalMaster, IInvoice objIInvoice)
 {
     _objIPatient         = objIPatient;
     _objIAdminOperations = objIAdminOperations;
     _objIHospitalMaster  = objIHospitalMaster;
     _objIInvoice         = objIInvoice;
 }
Пример #7
0
 public SongsController(IGetSongs songService, ILogger <SongsController> logger, IAdminOperations adminService, ObjectValuesChecker checker, IWebHostEnvironment envoirment)
 {
     _songService  = songService;
     _logger       = logger;
     _adminService = adminService;
     _checker      = checker;
     _envoirment   = envoirment;
 }
 public InvoiceController(IInvoice objIInvoice, IPatient objIPatient,
                          IHospitalMaster objIHospitalMaster,
                          IAdminOperations adminOperations,
                          IDrugTaxService drugTaxService,
                          ILabTaxService labTaxService)
 {
     _objIInvoice        = objIInvoice;
     _objIPatient        = objIPatient;
     _objIHospitalMaster = objIHospitalMaster;
     _adminOperations    = adminOperations;
     this.drugTaxService = drugTaxService;
     this.labTaxService  = labTaxService;
 }
Пример #9
0
 public AdminDashboardController(IAdminOperations objIAdminOperations)
 {
     _objIAdminOperations = objIAdminOperations;
 }
 public AdminOperationsController(IHostingEnvironment hostingEnv, IAdminOperations operation, IAgentInterface agentOperations)
 {
     _hostingEnv      = hostingEnv;
     _operation       = operation;
     _agentOperations = agentOperations;
 }
Пример #11
0
 public AgentOperationsController(ApplicationDBContext context, IAgentInterface agentOperations, IAdminOperations operations)
 {
     _agentOperations = agentOperations;
     _operations      = operations;
 }
 //private string userRole;
 public AccountController(IAdminOperations objIAdminOperations)
 {
     _objIAdminOperations = objIAdminOperations;
 }
Пример #13
0
 public void Setup()
 {
     _Server = Mongo.GetServer(Mongo.DefaultServerBinding);
     _Admin = _Server.Admin;
     _Admin.Binding.ConnectionOptions.ConnectionFactory = (ipEndpoint, options) => _Recorder;
 }
 public AdminController(IAdminOperations adminOperations, ICurrentUserProvider currentUserProvider) : base(currentUserProvider)
 {
     _adminOperations = adminOperations;
 }
Пример #15
0
 public AdminLoginController(IAdminOperations admin, ApplicationDBContext context, IEmailSender sender)
 {
     _context = context;
     _admin   = admin;
     _sender  = sender;
 }
Пример #16
0
 public AdminController(IAdminOperations db)
 {
     _db = db;
 }