public DefectController(IDefectRepository repo,
                         IUserRepository userRepo,
                         IBotNotificationSender sender,
                         IMapper mapper)
 {
     _repo     = repo;
     _userRepo = userRepo;
     _botNotificationSender = sender;
     _mapper = mapper;
 }
Пример #2
0
 public RolesController(IRoleRepository repo,
                        IUserRepository userRepo,
                        IMapper mapper,
                        IBotNotificationSender botNotificationSender)
 {
     _repo     = repo;
     _userRepo = userRepo;
     _mapper   = mapper;
     _botNotificationSender = botNotificationSender;
 }