AspNetCore/Razor-Mvc/Mvc.DataFiltering/Controllers/OrderController.cs
/// <summary>
/// Gets the model by its ID
/// </summary>
/// <param name="jsonDict">The JsonDict object which contains request parameters</param>
/// <returns><see cref="IActionResult"/> object with JSON representation of the model</returns>
Gets the model by its ID
Gets the model by its ID
[HttpGet("models/{modelId}")]
        public async Task<IActionResult> GetModelAsync(string modelId)
        {
            var model = await _eqManager.GetModelAsync(modelId);
            return this.EqOk(new { Model = model });
        }
[ HttpGet ( " " ) ] public async Task < IActionResult > GetModelAsync ( string modelId ) { var model = await _eqManager . GetModelAsync ( modelId ) ; return this . EqOk ( new { Model = model } ) ; }
Gets the model by its ID
Gets the model by its ID
object with JSON representation of the model
object with JSON representation of the model
modelId
string
jsonDict
The JsonDict object which contains request parameters
The JsonDict object which contains request parameters