Пример #1
0
 public ItemController(PhoenixContext _context, IFileStorageService fileStorageService, IMapper _mapper)
 {
     this.context            = _context;
     this.fileStorageService = fileStorageService;
     this.mapper             = _mapper;
     IB = new ItemBiz(context, fileStorageService);
     UB = new UserBiz(context);
 }
 public TransactionController(PhoenixContext _context, IMapper _mapper)
 {
     this.context = _context;
     this.mapper  = _mapper;
     IB           = new ItemBiz(context);
     TB           = new TransactionBiz(context);
     UB           = new UserBiz(context);
 }