Example #1
0
 public relationController(IServiceFactory serviceFactory)
 {
     _userService        = serviceFactory.CreateUserService();
     _commentService     = serviceFactory.CreateCommentService();
     _chatService        = serviceFactory.CreateChatService();
     _advertisingService = serviceFactory.CreateAdvertisingService();
 }