public WebNotifyService() { Instance = this; connections.Indexes.Add(WebNotifyConnectionUserInvoker.Instance); jsonSettings = new JsonSerializerSettings { ContractResolver = DBItemContractResolver.Instance }; jsonSettings.Converters.Add(new Newtonsoft.Json.Converters.StringEnumConverter()); }
public WebNotifyController(WebNotifyService service) { Service = service; }