Exemplo n.º 1
0
        public APIGatewayProxyResponse GetAllRoles(APIGatewayProxyRequest request, ILambdaContext lambdaContext)
        {
            lambdaContext.Logger.LogLine($"GetAllAccounts query");

            var command = new GetAllRolesCommand();

            return(MediatrSend(command));
        }
Exemplo n.º 2
0
 public IResponseResult GetRoles([FromQuery] GetAllRolesCommand command) => command.Execute(param: this._roleparam);