API_8.Controllers.DemoController.ReplaceSingleService C# (CSharp) Method

ReplaceSingleService() public method

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