public APIGatewayProxyResponse GetAllRoles(APIGatewayProxyRequest request, ILambdaContext lambdaContext) { lambdaContext.Logger.LogLine($"GetAllAccounts query"); var command = new GetAllRolesCommand(); return(MediatrSend(command)); }
public IResponseResult GetRoles([FromQuery] GetAllRolesCommand command) => command.Execute(param: this._roleparam);