예제 #1
0
        public SoapRestController()
	    {
            // TODO - This should really use constructor injection but couldn't get that working.
            this.mapProvider = (MapProvider)System.Web.Mvc.DependencyResolver.Current.GetService(typeof(MapProvider));
	    }
예제 #2
0
 public ManageMapController()
 {
     this.mapProvider = (MapProvider) System.Web.Mvc.DependencyResolver.Current.GetService(typeof(MapProvider));
 }