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;
 }
Exemplo n.º 2
0
 public PostHub(PostUpsert postUpsert)
 {
     _postUpsert = postUpsert;
 }