Example #1
0
 public PackItemService(IDALFacade facade)
 {
     _facade = facade;
     _conv   = new PackItemConverter();
     _convPL = new PackingListConverter();
     _convIT = new ItemConverter();
 }
 public ColliItemService(IDALFacade facade)
 {
     _facade = facade;
     _conv   = new ColliItemConverter();
     _convCL = new ColliListConverter();
     _convIT = new ItemConverter();
 }
 public ColliListService(IDALFacade facade)
 {
     _facade = facade;
     _conv   = new ColliListConverter();
     _convPL = new PackingListConverter();
     _convCI = new ColliItemConverter();
 }
Example #4
0
 public ItemService(IDALFacade facade)
 {
     _facade = facade;
     _conv   = new ItemConverter();
     _convPI = new PackItemConverter();
     _convCI = new ColliItemConverter();
     _convFC = new FreightConditionConverter();
 }
 public CustomerService(IDALFacade facade,
                        IConverter <Customer, CustomerBO> cConv = null,
                        IConverter <Address, AddressBO> aConv   = null)
 {
     _facade = facade;
     _cConv  = cConv ?? new CustomerConverter();
     _aConv  = aConv ?? new AddressConverter();
 }
 public BLLFacade(IConfiguration conf)
 {
     facade = new DALFacade(new DbOptions()
     {
         ConnectionString = conf.GetConnectionString("DefaultConnection"),
         Environment      = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")
     });
 }
 public PackingListService(IDALFacade facade)
 {
     _facade = facade;
     _convPL = new PackingListConverter();
     _conv   = new ProjectConverter();
     _convCL = new ColliListConverter();
     _convPI = new PackItemConverter();
     _convI  = new ItemConverter();
 }
        public AddressService(IDALFacade facade,
                              IConverter <Address, AddressBO> conv = null)
        {
            _facade = facade;

            /*if(conv != null){
             *  _conv = conv;
             * }
             * else{
             *  _conv = new AddressConverter();
             * }*/
            _conv = conv ?? new AddressConverter();
        }
 public ReceiptService(IDALFacade facade)
 {
     _facade      = facade;
     _recieptConv = new ReceiptConverter();
 }
Example #10
0
 public ProfileService(IDALFacade dalFacade)
 {
     _facade    = dalFacade;
     _converter = new ProfileConverter();
 }
Example #11
0
 public AllergyService(IDALFacade facade)
 {
     this.facade = facade;
 }
 public EquipmentService(IDALFacade facade)
 {
     _facade             = facade;
     _equipmentConverter = new EquipmentConverter();
 }
Example #13
0
 public VideoService(IDALFacade facade)
 {
     _facade         = facade;
     _converter      = new VideoConverter();
     _genreConverter = new GenreConverter();
 }
 public SearchService(IDALFacade facade)
 {
     this.facade = facade;
 }
Example #15
0
 public CartService(IDALFacade facade)
 {
     this.facade = facade;
 }
Example #16
0
 public OrderService(IDALFacade facade,
                     IConverter <Order, OrderBO> conv = null)
 {
     _facade = facade;
     _conv   = conv ?? new OrderConverter();
 }
 public SalesmanListService(IDALFacade facade)
 {
     _salesmanListConverter = new SalesmanListConverter();
     _facade = facade;
 }
Example #18
0
 public UserService(IDALFacade facade,
                    IConverter <User, UserBO> conv = null)
 {
     _facade = facade;
     _conv   = conv ?? new UserConverter();
 }
Example #19
0
 public PropositionService(IDALFacade facade)
 {
     this.facade   = facade;
     this.propConv = new PropositionConverter();
 }
 public CustomerService(IDALFacade facade)
 {
     this.facade = facade;
 }
Example #21
0
 public UserService(IDALFacade facade)
 {
     _facade = facade;
     _conv   = new UserConverter();
 }
Example #22
0
 public EmployeeService(IDALFacade facade)
 {
     _employeeConverter = new EmployeeConverter();
     _mailto            = new sendMail();
     _facade            = facade;
 }
Example #23
0
 public ProjectService(IDALFacade facade)
 {
     _facade = facade;
     _conv   = new ProjectConverter();
     _convPL = new PackingListConverter();
 }
 public FreightConditionService(IDALFacade facade)
 {
     _facade = facade;
     _conv   = new FreightConditionConverter();
     _convIT = new ItemConverter();
 }
Example #25
0
 public UserService(IDALFacade facade)
 {
     this.facade = facade;
 }
Example #26
0
 public CustomerService(IDALFacade facade)
 {
     _facade   = facade;
     _custConv = new CustomerConverter();
 }
 public ProductService(IDALFacade facade)
 {
     this.facade = facade;
 }
 public VisitService(IDALFacade facade)
 {
     visitConv   = new VisitConverter();
     this.facade = facade;
 }
Example #29
0
 public IngredientService(IDALFacade facade)
 {
     this.facade = facade;
 }
Example #30
0
 public RoleService(IDALFacade facade)
 {
     _facade    = facade;
     _converter = new RoleConverter();
 }