public OrderBusiness( IOrderRepository orderRepository, IClientBusiness clientBusiness) { _orderRepository = orderRepository; _clientBusiness = clientBusiness; }
public InsertController(IOwnerBusiness ownerBusiness, ICityBusiness cityBusiness, IApartmentBusiness apartmentBusiness, IClientBusiness clientBusiness) { this.ownerBusiness = ownerBusiness; this.cityBusiness = cityBusiness; this.apartmentBusiness = apartmentBusiness; this.clientBusiness = clientBusiness; }
public ClientsController( IClientBusiness clientBusiness, ILogger <ClientsController> logger ) { this._clientBusiness = clientBusiness; this._logger = logger; }
public AdminController(IOwnerBusiness ownerBusiness, ICityBusiness cityBusiness, IApartmentBusiness apartmentBusiness, IClientBusiness clientBusiness, IMonitoringBusiness monitoringBusiness) { this.ownerBusiness = ownerBusiness; this.cityBusiness = cityBusiness; this.apartmentBusiness = apartmentBusiness; this.clientBusiness = clientBusiness; this.monitoringBusiness = monitoringBusiness; }
public PolicyController(IOptions <ApiConfiguration> apiConfiguration) { this._apiConfiguration = apiConfiguration.Value; Settings settings = ApiHelper.ParseConfigurationToLibrarySettings(this._apiConfiguration); this._policyBusiness = new PolicyBusiness(settings); this._clientBusiness = new ClientBusiness(settings); this._clientBusiness.ConfigureData(); this._policyBusiness.ConfigureData(); }
public ClientControllerTest() { var mockMapper = new MapperConfiguration(cfg => { cfg.AddProfile(new MappingProfile()); }); var mapper = mockMapper.CreateMapper(); _service = new ClientBusinessTest(mapper); _controller = new ClientController(_service); }
public void TestInitialize() { var clientRepositoryMock = new Mock <IClientRepository>(); Client clientDiego = new Client(); clientDiego.Document = 98695330; clientDiego.Name = "Diego Barrera"; Client clientNull = null; clientRepositoryMock.Setup(x => x.GetByDocument(98695330)).Returns(clientDiego); clientRepositoryMock.Setup(x => x.GetByDocument(123)).Returns(clientNull); _clientBusiness = new ClientBusiness(clientRepositoryMock.Object); }
public ClientController(IOptions <ApiConfiguration> apiConfiguration) { this._apiConfiguration = apiConfiguration.Value; this._clientBusiness = new ClientBusiness(ApiHelper.ParseConfigurationToLibrarySettings(this._apiConfiguration)); this._clientBusiness.ConfigureData(); }
public ClientController(IClientBusiness bussines) { _bussines = bussines; }
public BookingServices(IBookingBusiness bookingBusiness, IClientBusiness clientBusiness, IRoomBusiness roomBusiness) { _bookingBusiness = bookingBusiness; _clientBusiness = clientBusiness; _roomBusiness = roomBusiness; }
public ClientController(IClientBusiness business, IMapper mapper) { _business = business; _mapper = mapper; }
public ClientServices(IClientBusiness clientBusiness, IMapper mapper) { _clientBusiness = clientBusiness; _mapper = mapper; }
public ClientController(IConfiguration config, IMapper _mapper, IClientBusiness _clientBusiness) { mapper = _mapper; clientBusiness = _clientBusiness; }
public ClientController(ILogger <ClientController> logger, IClientBusiness clientBusiness) { _logger = logger; _clientBusiness = clientBusiness; }
public ClientServices(IClientBusiness clientBusiness) { _clientBusiness = clientBusiness; }
public ClientController(IRepositoryEF repo, IClientBusiness client) { _repo = repo; _client = client; }
public ClientController(IClientBusiness clientBusiness) { _clientBusiness = clientBusiness; }
public AuthController(IClientBusiness loginBusiness) { _loginBusiness = loginBusiness; }
public ClientService(IClientBusiness p_ClientBusiness) { m_ClientBusiness = p_ClientBusiness; }