Exemplo n.º 1
0
 public ProductCategoryService(AppUnitOfWork appUOW, IGenericRepo <ProductCategory> productCategoryRepo)
 {
     _appUow = appUOW;
     _productCategoryRepo = productCategoryRepo;
 }
Exemplo n.º 2
0
 public PerfilesController(IGenericRepo <Perfil> perfilesRepo, ILogger <PerfilesController> logger, IMapper mapper)
 {
     this._perfilesRepo = perfilesRepo;
     this._logger       = logger;
     this._mapper       = mapper;
 }
Exemplo n.º 3
0
 public UserController()
 {
     this.userEntity = new GenericRepo <User1>(new userdbEntities());
 }
Exemplo n.º 4
0
 public PersonBL(IGenericRepo repo) => Repo = repo;
 public JeansDetailPageViewModel()
 {
     SelectedJeans    = new Jeans();
     jeansRepo        = new GenericRepo <Jeans>();
     AddToCartCommand = new Command(AddJeansToCart);
 }
Exemplo n.º 6
0
 public BankAccountService(AppUnitOfWork appUOW)
 {
     _appUow          = appUOW;
     _BankAccountRepo = appUOW.BankAccountRepo;
 }
Exemplo n.º 7
0
 public ReferenceServiceTest(TestAppFixture testAppFixture) : base(testAppFixture)
 {
     _referenceService = GetService <ReferenceService>();
     _referenceRepo    = GetService <IGenericRepo <Reference> >();
     _recordsRepo      = GetService <IGenericRepo <KvantShared.Model.Record> >();
 }
Exemplo n.º 8
0
 public GenericManager(IGenericRepo <T> genericRepo)
 {
     this.genericRepo = genericRepo;
 }
Exemplo n.º 9
0
        public PatientSearchPageViewModel(INavigationService navigationService, IGenericRepo <mstr_ward_details> mstrWardRepo,
                                          IGenericRepo <mstr_bed_details> mstrBedRepo, IPatientManager patientManager, IGenericRepo <mstr_patient_info> patientRepo, IPageDialogService pageDialog) : base(navigationService, pageDialog)
        {
            _mstrWardRepo   = mstrWardRepo;
            _mstrBedRepo    = mstrBedRepo;
            _patientManager = patientManager;
            _patientRepo    = patientRepo;

            SearchBtnCommand = new DelegateCommand <string>(GetPatientsList);

            LoadData();
            var currentDate = DateTime.UtcNow.Date;

            MaxDate = MinDate.AddDays(1);
        }
 public ProductService(IGenericRepo repo)
 {
     _repo = repo;
 }
 public AuthController(SignInManager <User> signInMgr, IPasswordHasher <User> hasher, UserManager <User> userManager, RoleManager <Role> roleManager, ILogger <AuthController> logger, IConfiguration configuration, IGenericRepo <User> repo, IUserRepo userRepo, IMapper mapper)
 {
     this.signInMgr     = signInMgr;
     this.configuration = configuration;
     this.repo          = repo;
     this.userRepo      = userRepo;
     this.mapper        = mapper;
     this.hasher        = hasher;
     this.userManager   = userManager;
     RoleManager        = roleManager;
     this.logger        = logger;
 }
Exemplo n.º 12
0
 public UserNoteService(IGenericRepo <UserNote> userNoteRepo)
 {
     _userNoteRepo = userNoteRepo;
 }
Exemplo n.º 13
0
 public HomeController(IGenericRepo repo)
 {
     _repo = repo;
 }
Exemplo n.º 14
0
 public OSService()
 {
     _osRepo = new GenericRepo <OS>();
 }
Exemplo n.º 15
0
 public OrderService()
 {
     _orderRepo     = new OrderRepo();
     _orderLineRepo = new GenericRepo <OrderLine>();
     _deviceRepo    = new DeviceRepo();
 }
Exemplo n.º 16
0
 public MealOrderLocalManager(IGenericRepo <mstr_meal_order_local> orderLocalRepo)
 {
     _orderLocalRepo = orderLocalRepo;
 }
Exemplo n.º 17
0
 public StoreService(AppUnitOfWork appUOW, AuthUnitOfWork authUow)
 {
     _appUow    = appUOW;
     _authUow   = authUow;
     _storeRepo = appUOW.StoreRepo;
 }
 public AddProductCommandHandler(IGenericRepo <ProductEntity> repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }
Exemplo n.º 19
0
 public RelativeService(AppUnitOfWork appUOW)
 {
     _appUow       = appUOW;
     _RelativeRepo = appUOW.RelativeRepo;
 }
Exemplo n.º 20
0
 public FrameworkService()
 {
     _framworkRepo = new GenericRepo <Framework>();
 }
Exemplo n.º 21
0
 public JournalServices(IGenericRepo repo)
 {
     _repo = repo;
 }
Exemplo n.º 22
0
 public UserService(IGenericRepo <User> userRepo)
 {
     _userRepo = userRepo;
 }
Exemplo n.º 23
0
 public BookService()
 {
     repo  = new EFRepo <Book>();
     repoG = new EFRepo <Genre>();
     repoA = new EFRepo <Author>();
 }
 public DiskStorageController(IGenericRepo <DiskStorageEntity> diskStorageRepo)
 {
     _diskStorageRepo = diskStorageRepo;
 }
 public DailyOrderDetailPageViewModel(INavigationService navigationService, IGenericRepo <mstr_ward_details> mstrWardRepo,
                                      IGenericRepo <mstr_bed_details> mstrBedRepo, IGenericRepo <mstr_DisplayPaymentModeDetails> displayPaymentModeDetails, IPageDialogService pageDialog) : base(navigationService, pageDialog)
 {
     _mstrWardRepo = mstrWardRepo;
     _mstrBedRepo  = mstrBedRepo;
     _displayPaymentModeDetails = displayPaymentModeDetails;
     MealDeliveredCollection    = new ObservableCollection <mstr_mealdelivered>();
     SearchCommand = new DelegateCommand(SearchMethod);
     UpdateCommand = new DelegateCommand(UpdateOrder);
 }
 public WorkoutAL(IGenericRepo <Workout> workoutRepo)
 {
     _workoutRepo = workoutRepo;
 }
Exemplo n.º 27
0
 public QAService(IGenericRepo <Question> qaRepo, IGenericRepo <User> userRepo, IQuestionsRepo questionRepo, IGenericRepo <Answer> aRepo)
 {
     _qaRepo       = qaRepo;
     _userRepo     = userRepo;
     _questionRepo = questionRepo;
     _aRepo        = aRepo;
 }
 public ExerciseController(IGenericRepo <TrainingDay> trainingDayRepo, IMapper mapper)
 {
     _trainingDayRepo = trainingDayRepo;
     _mapper          = mapper;
 }
Exemplo n.º 29
0
 public GatewayFactory(IGenericRepo <PaymentGateway> paymentGatewayRepo)
 {
     _paymentGatewayRepo = paymentGatewayRepo;
 }
Exemplo n.º 30
0
 public ImageService(IGenericRepo repo)
 {
     _repo = repo;
 }