Beispiel #1
0
        public void Create(MachineViewModel machine)
        {
            //service.SendMail();
            Machine obj = new Machine();

            obj.Name       = machine.Name;
            obj.CreateDate = DateTime.Now;
            service.Add(obj);
        }