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);
        }
Ejemplo n.º 4
0
        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);
        }
Ejemplo n.º 6
0
        void Save(object param)
        {
            var hen = Mapper.Map <HenEntryViewModel, Hen>(this);

            ActualSaveCommand.Execute(hen);
        }