public PostController(PostGetBySiteAccountName postGetBySiteAccountName, PostGetBySiteAccountID postGetBySiteAccountID, PostUpsert postUpsert, PostDelete postDelete, UserAccountGetByEmail userAccountGetByEmail, IAuthorizationService authorizationService) { _postGetBySiteAccountName = postGetBySiteAccountName; _postGetBySiteAccountID = postGetBySiteAccountID; _postUpsert = postUpsert; _postDelete = postDelete; _userAccountGetByEmail = userAccountGetByEmail; _authorizationService = authorizationService; }
public PostHub(PostUpsert postUpsert) { _postUpsert = postUpsert; }