Example #1
0
 public BookController(IBookBusinessService bookBusinessService, IMapper mapper,
                       IWebHostEnvironment hostEnvironment, IUserBusinessService userBusinessService)
     : base(mapper, hostEnvironment)
 {
     this.bookBusinessService = bookBusinessService;
     this.userBusinessService = userBusinessService;
 }
Example #2
0
 public EbsApiController(IBookBusinessService bookBusinessService, IMapper mapper,
                         IWebHostEnvironment hostEnvironment)
 {
     this.bookBusinessService = bookBusinessService;
     this.folder = Path.Combine(hostEnvironment.WebRootPath, "files");
     this.mapper = mapper;
 }
Example #3
0
 public AdminController(IMapper mapper, IBookBusinessService bookBusinessService,
                        IUserBusinessService userBusinessService)
 {
     this.bookBusinessService = bookBusinessService;
     this.userBusinessService = userBusinessService;
     this.mapper = mapper;
 }
Example #4
0
 public UserController(IUserBusinessService userBusinessService, IMapper mapper,
                       IWebHostEnvironment hostEnvironment, IBookBusinessService bookBusinessService,
                       IConfiguration configuration) : base(mapper, hostEnvironment)
 {
     this.userBusinessService = userBusinessService;
     this.bookBusinessService = bookBusinessService;
     this.configuration       = configuration;
 }
Example #5
0
 public EbsApiController(IAdminBusinessService adminBusinessService,
                         IUserBusinessService userBusinessService, IBookBusinessService bookBusinessService,
                         IMapper mapper, IWebHostEnvironment hostEnvironment)
 {
     this.adminBusinessService = adminBusinessService;
     this.userBusinessService  = userBusinessService;
     this.bookBusinessService  = bookBusinessService;
     this.hostEnvironment      = hostEnvironment;
     this.mapper = mapper;
 }
Example #6
0
 public TransactionController(IBookBusinessService bookBusinessService,
                              IMapper mapper, IWebHostEnvironment hostEnvironment) : base(bookBusinessService, mapper, hostEnvironment)
 {
 }
Example #7
0
 public AdminController(IAdminBusinessService adminBusinessService, IUserBusinessService userBusinessService,
                        IBookBusinessService bookBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment)
     : base(adminBusinessService, userBusinessService, bookBusinessService, mapper, hostEnvironment)
 {
 }
Example #8
0
 public BookController(IBookBusinessService bookBusinessService,
                       IUserBusinessService userBusinessService,
                       IMapper mapper, IWebHostEnvironment hostEnvironment)
     : base(bookBusinessService, mapper, hostEnvironment, userBusinessService)
 {
 }