예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RecycleClientModule"/> class.
        /// </summary>
        /// <param name="director">The director.</param>
        public RecycleClientModule(Directors.IRecycleClientDirector director)
            : base("/runtime")
        {
            _director = director;

            Post["/RecycleClient/{clientId}", runAsync: true] = RecycleClientAsync;
        }
예제 #2
0
 public RecycleClientController(Directors.IRecycleClientDirector director)
 {
     _director = director;
 }