예제 #1
0
 public FineApi(
     IRepository<User, UserDataModel, Guid> userRepository,
     IRepository<Payment, PaymentDataModel, Guid> paymentRepository,
     IFineMapper fineMapper,
     IUserMapper userMapper,
     IPaymentMapper paymentMapper,
     IExcelExportService<FineExportModel> excelExportService, 
     IChannelApi channelApi, 
     IUserApi userApi, 
     IGroupsApi groupApi, 
     IChatApi chatApi, 
     IReactionApi reactionApi)
 {
     this.userRepository = userRepository;
     this.paymentRepository = paymentRepository;
     this.fineMapper = fineMapper;
     this.userMapper = userMapper;
     this.paymentMapper = paymentMapper;
     this.excelExportService = excelExportService;
     this.channelApi = channelApi;
     this.userApi = userApi;
     this.groupApi = groupApi;
     this.chatApi = chatApi;
     this.reactionApi = reactionApi;
 }
예제 #2
0
 public UserMapper(IFineMapper fineMapper)
 {
     this.fineMapper = fineMapper;
 }