skip to Main Content

Insert a document to a MongoDB

I am trying to build a simple API connected to a MongoDB. I have customers and I want to add those to the DB This is my customer class: public class Customer : BaseCustomer { public Customer(string name, string surname,…

VIEW QUESTION

Convert Json string to a different type

I have an object like this "maqVeicEquip": { "item": { "tipoMaq": "03", "marca": "DAF", "idadeMediaFrota": "1", "quantidade": "2", "indOnus": "true", "valorMedio": "0.00", "outrasInformacoes": "XF105 FTT510 - BCO PACCAR", "percPropriedade": "100.00" } } I can't deserialize it because the item is…

VIEW QUESTION
Back To Top
Search