public void UpdateAdminSettings(AdminSettings newSettings) { if (newSettings == null) { throw Utility.ThrowResponseException(this.Request, System.Net.HttpStatusCode.BadRequest, ErrorMessages.NullInput); } settings = newSettings; }
static AdminSettingsController() { settings = new AdminSettings { EndpointAddress = "http://myserver:300", Username = "******", Password = "******" }; }