public CreatePostController(IContactCreator connectionController, Func <string, DataModelPost> parseResponse, INotificationCenterQc notificationCenterQc, IRepositoryQcPrice repositoryQc) { ContactCreator = connectionController; RepositoryQc = repositoryQc; NotificationCenterQc = notificationCenterQc; ParseResponse = parseResponse; NotificationCenterQc.QcDataIncome += OnQcIncome; }
public PostHeaderController(IContactCreator connectionController, Func <string, DataModelDeletePost> parseResponseDeletePost, INotificationCenterQc notificationCenterQc, IRepositoryQc repositoryQc, string quote) { ContactCreator = connectionController; _postQuote = quote; _repositoryQc = repositoryQc; _notificationCenterQc = notificationCenterQc; _parseResponseDeletePost = parseResponseDeletePost; _notificationCenterQc.QcDataIncome += OnQcIncome; }
public UpdatePostController(IContactCreator connectionController, Func <string, DataModelPost> parseResponseFunc, INotificationCenterQc notificationCenterQc, IRepositoryQcPrice repositoryQc, IRepositoryPost repositoryPost) : base(connectionController, parseResponseFunc, notificationCenterQc, repositoryQc) { _repositoryPost = repositoryPost; }