private void Save(object param) { var depreciation = Mapper.Map <HenDepreciationEntryViewModel, Models.HenDepreciation>(this); ActualSaveCommand.Depreciation = depreciation; ActualSaveCommand.Execute(depreciation); }
void Save(object param) { var cost = Mapper.Map <EmployeeCostEntryViewModel, Models.EmployeeCost>(this); ActualSaveCommand.Cost = cost; ActualSaveCommand.Execute(cost); }
void Save(object param) { var production = Mapper.Map <EggProductionEntryViewModel, Models.EggProduction>(this); ActualSaveCommand.Production = production; ActualSaveCommand.Execute(production); }
private void Save(object param) { var consumable = Mapper.Map <ConsumableEntryViewModel, Consumable>(this); ActualSaveCommand.Execute(consumable); }
private void Save(object param) { var house = Mapper.Map <HouseEntryViewModel, HenHouse>(this); ActualSaveCommand.Execute(house); }
void Save(object param) { var hen = Mapper.Map <HenEntryViewModel, Hen>(this); ActualSaveCommand.Execute(hen); }