public SecuredPagesModule(DataStore data, IApiService api, IDeploymentService deploy) { _Data = data; _Api = api; _Deploy = deploy; Before.AddItemToEndOfPipeline(CheckAuth); Get["/Sites"] = Sites; Put["/Sites/{slug}/Notifications/Email"] = EnableEmailNotification; Get["/Deploy/{key}"] = Deploy; Post["/Deploy/{key}"] = DoDeploy; }