public IActionResult Get(int id) { return(Ok(new string[] { RequestProcess.Serializer(RequestProcess.LoadValuesInt(id)) })); }
public IActionResult Get(string query) { return(Ok(new string[] { RequestProcess.Serializer(RequestProcess.LoadValuesString(query)) })); // return Ok(new Value { newsId=id , newsContent="value"+id}); }
public IActionResult Get() { //return new string[] { "value1", "value2" }; return(Ok(new string[] { RequestProcess.Serializer(RequestProcess.LoadValues()) })); }