Ejemplo n.º 1
0
 public CarOwnerController(ICarOwnerService carOwnerService, ICarService carService,
                           IOwnerService ownerService)
 {
     _carOwnerService = carOwnerService;
     _carService      = carService;
     _ownerService    = ownerService;
 }
Ejemplo n.º 2
0
 public DepositController(IDepositService depositService, ILogger <DepositController> logger,
                          IOwnerService ownerService)
 {
     _depositService = depositService;
     _logger         = logger;
     _ownerService   = ownerService;
 }
 public UsersController(IPetService petService, IPetTypeService petTypeService, IOwnerService ownerService, IUserService userService)  // maybe not
 {
     _petService     = petService;
     _petTypeService = petTypeService;
     _ownerService   = ownerService;
     _userService    = userService;
 }
Ejemplo n.º 4
0
 public OwnerRepairController(IOwnerRepairService ownerRepairService, IOwnerService ownerService,
                              IRepairService repairService)
 {
     _ownerRepairService = ownerRepairService;
     _ownerService       = ownerService;
     _repairService      = repairService;
 }
Ejemplo n.º 5
0
 public UserService(IAdminService adminService, IClientService clientService, IOwnerService ownerService, DB_Context context)
 {
     this.adminService  = adminService;
     this.clientService = clientService;
     this.ownerService  = ownerService;
     unitOfWork         = new UnitOfWork(context);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructer used for creating a new instance of this class
 /// It initializes the visual list and calls the navigate method afterwards
 /// </summary>
 /// <param name="petService">The implementation of the IPetService interface</param>
 public Printer(IPetService petService, IOwnerService ownerService)
 {
     _PetService   = petService;
     _OwnerService = ownerService;
     FetchPets();
     Navigate();
 }
Ejemplo n.º 7
0
 public NoteController(INoteService noteService, IByerService byerService, IOwnerService ownerService, IPictureService pictureService)
 {
     NoteService    = noteService;
     ByerService    = byerService;
     OwnerService   = ownerService;
     PictureService = pictureService;
 }
Ejemplo n.º 8
0
 public void Dispose()
 {
     _commonSvc = null;
     _ownerSvc = null;
     if (_userManager != null) { _userManager.Dispose(); }
     if (_context != null) { _context.Dispose(); }
 }
 public AccountService(IAccountRepository accountRepository, IOwnerService ownerService, IUnitOfWork unitOfWork, INumberGenerator <string> numberGenerator)
 {
     this.accountRepository = accountRepository;
     this.ownerService      = ownerService;
     this.numberGenerator   = numberGenerator;
     this.unitOfWork        = unitOfWork;
 }
Ejemplo n.º 10
0
 public OwnerController(IOwnerService ownerService, UserManager <ApplicationUser> userManager,
                        IApartmentService apartmentService)
 {
     _ownerService     = ownerService;
     _userManager      = userManager;
     _apartmentService = apartmentService;
 }
Ejemplo n.º 11
0
 public AppointmentsController(IPetService pet, IOwnerService owner, IAppointmentService appointment)
 {
     _jsonResponse = new JsonResponse();
     _pet          = pet;
     _owner        = owner;
     _appointment  = appointment;
 }
Ejemplo n.º 12
0
        public AdManager(
            IAdService adService,
            ICardService cardService,
            IAdImageService adImageService,
            IAddressService addressService,
            IOwnerService ownerService,
            IAdStatusService adStatusService,
            AddressManager addressManager,
            AdRegister adRegister,
            CardDetailDTOParser cardDetailDTOParser,
            AdImageDTOParser adImageDTOParser,
            CardRegisterDTOParser cardRegisterDTOParser
            )
        {
            this.adService       = adService;
            this.cardService     = cardService;
            this.adImageService  = adImageService;
            this.addressService  = addressService;
            this.ownerService    = ownerService;
            this.adStatusService = adStatusService;

            this.adRegister = adRegister;

            this.cardDetailDTOParser   = cardDetailDTOParser;
            this.adImageDTOParser      = adImageDTOParser;
            this.cardRegisterDTOParser = cardRegisterDTOParser;

            this.addressManager = addressManager;
        }
 public OwnerController(IPetService petService, IOwnerService ownerService, UserManager <Owner> userManager, IMapper mapper)
 {
     this.petService   = petService;
     this.ownerService = ownerService;
     this.userManager  = userManager;
     this.mapper       = mapper;
 }
Ejemplo n.º 14
0
 public TestingController(FreelancerDbContext freelancerDb, IFreelancerService freelancerService, IOwnerService ownerService, IHomeService homeService)
 {
     this.freelancerDb      = freelancerDb;
     this.freelancerService = freelancerService;
     this.ownerService      = ownerService;
     this.homeService       = homeService;
 }
 public ApartmentController(IApartmentService apartmentService, IOwnerService ownerService,
                            UserManager <ApplicationUser> userManager, ILocationService locationService)
 {
     _apartmentService = apartmentService;
     _ownerService     = ownerService;
     _userManager      = userManager;
     _locationService  = locationService;
 }
Ejemplo n.º 16
0
 public CarController(ICarService carService, ICarBrandService carBrandService,
                      ICarModelService carModelService, IOwnerService ownerService)
 {
     _carService      = carService;
     _carBrandService = carBrandService;
     _carModelService = carModelService;
     _ownerService    = ownerService;
 }
 public DocCategoryController(IDocCategoryService docCategoryService, ILocalizationService localizationService, IOwnerService ownerService, IOwnerLevelService ownerLevelService)
 {
     _docCategoryService  = docCategoryService;
     _localizationService = localizationService;
     _ownerService        = ownerService;
     _ownerLevelService   = ownerLevelService;
     UserID = SILAuthorization.GetUserID();
 }
Ejemplo n.º 18
0
 public PropertyService(IPropertyRepository propertyRepository,
                        IOwnerService ownerService,
                        IMapper mapper)
 {
     _propertyRepository = propertyRepository;
     _ownerService       = ownerService;
     _mapper             = mapper;
 }
Ejemplo n.º 19
0
 public RepairController(IRepairService repairService, IHistoryStatusService historyStatusService,
                         IRepairStatusService repairStatusService, IOwnerService ownerService, IMasterService masterService)
 {
     _repairService        = repairService;
     _historyStatusService = historyStatusService;
     _repairStatusService  = repairStatusService;
     _ownerService         = ownerService;
     _masterService        = masterService;
 }
 public InstructorController(IInstructorService service, IUserService userService, ICoordinatorService coordinatorService, ICourseService courseService, IOwnerService ownerService, IStudentService studentService)
 {
     this._service           = service;
     this.userService        = userService;
     this.coordinatorService = coordinatorService;
     this.courseService      = courseService;
     this.ownerService       = ownerService;
     this.studentService     = studentService;
 }
 public StudentController(IStudentService service, IUserService userService, IInstructorService InstructorService, ICoordinatorService coordinatorService, IOwnerService ownerService, ICourseService courseService)
 {
     this._service           = service;
     this.userService        = userService;
     this.InstructorService  = InstructorService;
     this.CoordinatorService = coordinatorService;
     this.OwnerService       = ownerService;
     this.CourseService      = courseService;
 }
Ejemplo n.º 22
0
 public ClassController(IClassService classService, ICourseService courseService, IUserService userService, IOwnerService ownerService, ICoordinatorService coordinatorService, IInstructorService instructorService)
 {
     this._classService       = classService;
     this._courseService      = courseService;
     this._userService        = userService;
     this._ownerService       = ownerService;
     this._coordinatorService = coordinatorService;
     this._instructorService  = instructorService;
 }
Ejemplo n.º 23
0
 public LoginService(
     IOwnerService ownerService,
     ITokenConfigurations tokenConfigurations,
     ISigningConfigurations signingConfigurations)
 {
     this.ownerService          = ownerService;
     this.tokenConfigurations   = tokenConfigurations;
     this.signingConfigurations = signingConfigurations;
 }
Ejemplo n.º 24
0
 public OwnerLevelPermissionController(IOwnerLevelPermissionService ownerLevelPermissionService,
                                       IUserService userService, IOwnerService ownerService, ILocalizationService localizationService)
 {
     this._OwnerLevelPermissionService = ownerLevelPermissionService;
     this._userService         = userService;
     this._ownerService        = ownerService;
     this._localizationService = localizationService;
     UserID = SILAuthorization.GetUserID();
 }
Ejemplo n.º 25
0
 public ServerController(IOwnerService ownerService, IOwnerLevelService ownerLevelService, IServerService serverService,
                         ILocalizationService localizationService, ValidationResult respStatus)
 {
     _ownerService        = ownerService;
     _ownerLevelService   = ownerLevelService;
     _serverService       = serverService;
     _localizationService = localizationService;
     _respStatus          = respStatus;
     UserID = SILAuthorization.GetUserID();
 }
Ejemplo n.º 26
0
 public DataInitializer(ICustomerService customerService, IEmployeeService employeeService,
                        IOwnerService ownerService, IReservationService reservationService, IRestaurantService restaurantService, IMapper mapper)
 {
     _customerService    = customerService;
     _employeeService    = employeeService;
     _ownerService       = ownerService;
     _restaurantService  = restaurantService;
     _mapper             = mapper;
     _reservationService = reservationService;
 }
Ejemplo n.º 27
0
 public MembersController(
     IOwnerService ownerService,
     IMemberService memberService,
     IAuthedUserService authedUserService
     )
 {
     _ownerService      = ownerService;
     _memberService     = memberService;
     _authedUserService = authedUserService;
 }
Ejemplo n.º 28
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="service"></param>
 /// <param name="inStockBodyService"></param>
 /// <param name="customerService"></param>
 /// <param name="warehouseService"></param>
 /// <param name="productService"></param>
 /// <param name="ownerService"></param>
 /// <param name="strtypeService"></param>
 public InStockController(IInStockHeadService service, IInStockBodyService inStockBodyService, ICustomerService customerService, IWarehouseService warehouseService, IInventoryService productService, IOwnerService ownerService, IReceiveTypeService strtypeService)
 {
     this._warehouseService   = warehouseService;
     this._customerService    = customerService;
     this._service            = service;
     this._instockbodyService = inStockBodyService;
     this._productService     = productService;
     this._ownerService       = ownerService;
     this._receivetypeService = strtypeService;
 }
Ejemplo n.º 29
0
 public OwnerController(
     APIAbookingContext db,
     IService service,
     IOwnerService ownerService,
     IStringLocalizer <OwnerController> localizer)
 {
     _dbContext    = db;
     _ownerService = ownerService;
     _localizer    = localizer;
 }
Ejemplo n.º 30
0
 // GET: /<controller>/
 public HouseController(IHouseService houseService,
                        IOwnerService ownerService,
                        ICategoryService categoryService,
                        IMemoryCache memoryCache)
 {
     _memoryCache     = memoryCache;
     _categoryService = categoryService;
     _houseService    = houseService;
     _ownerService    = ownerService;
 }
Ejemplo n.º 31
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="service"></param>
 /// <param name="outStockNoticeBodyService"></param>
 /// <param name="customerService"></param>
 /// <param name="warehouseService"></param>
 /// <param name="productService"></param>
 /// <param name="ownerService"></param>
 /// <param name="strtypeService"></param>
 public OutStockNoticeController(IOutStockNoticeHeadService service, IOutStockNoticeBodyService outStockNoticeBodyService, ICustomerService customerService, IWarehouseService warehouseService, IInventoryService productService, IOwnerService ownerService, IReceiveTypeService strtypeService)
 {
     this._warehouseService          = warehouseService;
     this._customerService           = customerService;
     this._service                   = service;
     this._outStockNoticeBodyService = outStockNoticeBodyService;
     this._productService            = productService;
     this._ownerService              = ownerService;
     this._receivetypeService        = strtypeService;
 }
 public OwnersController()
 {
     this._ownerService = new OwnerServiceClient();
 }
Ejemplo n.º 33
0
 public AccountController(IRepository repository, IUnitOfWork unitOfWork)
 {
     _commonService = new CommonService(repository, unitOfWork);
     _ownerService = new OwnerService(repository, unitOfWork);
 }
Ejemplo n.º 34
0
 public VehicleController(IRepository repository,IUnitOfWork unitOfWork)
 {
     _ownerService = new OwnerService(repository, unitOfWork);
     _commonService = new CommonService(repository, unitOfWork);
 }