public IActionResult Put([FromRoute] int id, [FromBody] CatalogFieldDto catalogField) { return(new JsonVoidResult { Errors = null, StatusCode = HttpStatusCode.OK, Message = null }); }
public IActionResult LinkFieldToCatalog([FromRoute] int id, [FromBody] CatalogFieldDto catalogField) { return(new JsonResult <int> { Errors = null, StatusCode = HttpStatusCode.OK, Data = CatalogFieldsController.CatalogFieldId++, Message = null }); }
public IActionResult Post([FromBody] CatalogFieldDto value) { return(new JsonResult <int> { Errors = null, StatusCode = HttpStatusCode.Created, Data = CatalogFieldsController.CatalogFieldId++, Message = null }); }