public EmotionService( IEmotionRepository emotionRepository, ILogWrapper logger) { EmotionRepository = emotionRepository; Logger = logger; }
public HomeController(IUserRepository userRepository, IPostRepository postRepository, IEmotionRepository emotionRepository, IGroupRepository groupRepository) { this.userRepository = userRepository; this.postRepository = postRepository; this.emotionRepository = emotionRepository; this.groupRepository = groupRepository; }
public HomeController() { this.userRepository = new UserRepository(new EngnestContext()); this.postRepository = new PostRepository(new EngnestContext()); this.emotionRepository = new EmotionRepository(new EngnestContext()); this.groupRepository = new GroupRepository(new EngnestContext()); }
public SaveEmotionWhenFaceDetectedHandler( IPersonRepository iPersonRepository, IEmotionRepository iEmotionRepository) { this.iPersonRepository = iPersonRepository ?? throw new ArgumentNullException(nameof(iPersonRepository)); this.iEmotionRepository = iEmotionRepository ?? throw new ArgumentNullException(nameof(iEmotionRepository)); }
public EmotionAppService(IEmotionRepository iEmotionRepository) { this.iEmotionRepository = iEmotionRepository ?? throw new ArgumentNullException(nameof(iEmotionRepository)); }