public async Task <InventoryModel> GetInputAsString() { InventoryModel inv = JsonConvert.DeserializeObject <InventoryModel>(await ReadInput()); return(inv); }
public Mapper(InventoryModel instance) { this._schedule = instance; _mapper = new Dictionary <int, Descriptor>(); Build(); }