public int Post(string request) { var buyRequest = JsonSerializer.Deserialize <BuyRequest>(request); return(_buyModel.Post(buyRequest)); }