Skip to content

Instantly share code, notes, and snippets.

@dcomartin dcomartin/module.cs
Created Mar 12, 2016

What would you like to do?
public class Module : NancyModule
private readonly IMediator _mediator;
public Module(IMediator mediator)
_mediator = mediator;
Post["/demo/changepricinglevel"] = ChangePricingLevel;
private dynamic ChangePricingLevel(dynamic o)
var cmd = this.Bind<ChangeCustomerPricingLevel>();
return HttpStatusCode.NoContent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.