Exemple #1
0
 public ErrorditeCore(IGetUsersQuery getUsersQuery, IGetApplicationsQuery getApplicationsQuery, IGetGroupsQuery getGroupsQuery, ErrorditeConfiguration configuration, AppContext appContext, IAppSession session)
 {
     _getUsersQuery        = getUsersQuery;
     _getApplicationsQuery = getApplicationsQuery;
     _getGroupsQuery       = getGroupsQuery;
     Configuration         = configuration;
     AppContext            = appContext;
     Session = session;
 }
 public GetUsersQuery(IGetGroupsQuery getGroupsQuery, ErrorditeConfiguration configuration)
 {
     _getGroupsQuery = getGroupsQuery;
     _configuration  = configuration;
 }
 public IActionResult Get([FromQuery] GroupSearch search, [FromServices] IGetGroupsQuery query)
 {
     return(Ok(_executor.ExecuteQuery(query, search)));
 }