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

            var command = new GetAllRolesCommand();

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