public Dictionary<Type, Type> ReplaceSingleService() { RequestContext.Configuration.Services.Replace(typeof(IExceptionHandler), new MyExceptionHandler()); return GetAllSingleServices(); }