コード例 #1
0
 public MasterDataServices(IFieldRepository fieldRepository, ILevelRepository levelRepository, IReportReasonRepository reportReasonRepository, INotificationTypeRepository notificationTypeRepository, IMapper mapper, IFieldGroupRepository fieldGroupRepository)
 {
     this.fieldRepository            = fieldRepository;
     this.levelRepository            = levelRepository;
     this.reportReasonRepository     = reportReasonRepository;
     this.notificationTypeRepository = notificationTypeRepository;
     this.mapper = mapper;
     this.fieldGroupRepository = fieldGroupRepository;
 }
コード例 #2
0
 public PostService(IHttpContextAccessor httpContextAccessor,
                    IConfiguration configuration,
                    IUserRepository userRepository,
                    IPostRepository postRepository,
                    IFollowRepository followRepository,
                    IUpVoteRepository upVoteRepository,
                    IDownVoteRepository downVoteRepository,
                    IFcmRepository fcmRepository,
                    IMapper mapper,
                    IObjectLevelRepository objectLevelRepository,
                    ILevelService levelService,
                    IFieldGroupRepository fieldGroupRepository,
                    ILevelRepository levelRepository,
                    IMessageService messageService,
                    IConversationService conversationService,
                    ICommentRepository commentRepository,
                    IReplyCommentRepository replyCommentRepository,
                    IViolenceWordRepository violenceWordRepository,
                    IUserService userService,
                    ISearchHistoryRepository searchHistoryRepository)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.configuration       = configuration;
     this.userRepository      = userRepository;
     this.postRepository      = postRepository;
     this.followRepository    = followRepository;
     this.upVoteRepository    = upVoteRepository;
     this.downVoteRepository  = downVoteRepository;
     this.fcmRepository       = fcmRepository;
     this.mapper = mapper;
     this.objectLevelRepository   = objectLevelRepository;
     this.levelService            = levelService;
     this.fieldGroupRepository    = fieldGroupRepository;
     this.levelRepository         = levelRepository;
     this.messageService          = messageService;
     this.conversationService     = conversationService;
     this.commentRepository       = commentRepository;
     this.replyCommentRepository  = replyCommentRepository;
     this.violenceWordRepository  = violenceWordRepository;
     this.userService             = userService;
     this.searchHistoryRepository = searchHistoryRepository;
 }
コード例 #3
0
 public FieldGroupService(IFieldGroupRepository fieldGroupRepository, IUnitOfWork unitOfWork)
 {
     this._fieldGroupRepository = fieldGroupRepository;
     this._unitOfWork           = unitOfWork;
 }
コード例 #4
0
 public FieldServices(IFieldRepository fieldRepository, IFieldGroupRepository fieldGroupRepository, IMapper mapper)
 {
     this.fieldRepository      = fieldRepository;
     this.fieldGroupRepository = fieldGroupRepository;
     this.mapper = mapper;
 }
コード例 #5
0
 public FieldGroupService(IFieldGroupRepository repo, IValidation <FieldGroup> validation) : base(repo, validation)
 {
     this.repo = repo;
 }