예제 #1
0
 protected BaseAppService(IRepository <T, TPrimaryKey> repository, WkBillContext wkBillContext, IMapper mapper)
 {
     _repository    = repository;
     _wkBillContext = wkBillContext;
     _mapper        = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
예제 #2
0
 public HomeController(ILogger <HomeController> logger, WkBillContext wkBillContext)
 {
     _logger        = logger;
     _wkBillContext = wkBillContext;
 }
예제 #3
0
 public AddRevenueService(WkBillContext wkBillContext, IMapper mapper) : base(null, wkBillContext, mapper)
 {
     Mapper         = mapper;
     _wkBillContext = wkBillContext;
 }