Ejemplo n.º 1
0
 public ChatValidation(IPersonRepository personRepository,
                       IChatRepository chatRepository,
                       IChatLogic chatLogic,
                       IHttpContextAccessor contextAccessor) : base(contextAccessor)
 {
     _personRepository = personRepository;
     _chatRepository   = chatRepository;
     _chatLogic        = chatLogic;
 }
Ejemplo n.º 2
0
 public MainLogic(
     IChatLogic chatLogic,
     IUserLogic userLogic,
     IMessageLogic messageLogic,
     IFriendLogic friendLogic,
     INotificationLogic notificationLogic)
 {
     _chatLogic         = chatLogic;
     _userLogic         = userLogic;
     _messageLogic      = messageLogic;
     _friendLogic       = friendLogic;
     _notificationLogic = notificationLogic;
 }
Ejemplo n.º 3
0
 public ChatController(IChatValidation chatValidation,
                       IChatLogic chatLogic)
 {
     _chatValidation = chatValidation;
     _chatLogic      = chatLogic;
 }