Beispiel #1
0
        public LifeCyclesViewModel FindLifeCycles(int?lifeCycleID)
        {
            try
            {
                LifeCyclesViewModel lifecyclevm      = new LifeCyclesViewModel();
                LifeCycleManager    lifecycleManager = new LifeCycleManager();
                var lifecycle = lifecycleManager.FindLifeCycles(lifeCycleID);
                lifecyclevm.daid          = lifecycle.daId;
                lifecyclevm.LifeCycleID   = lifecycle.LifeCycleID;
                lifecyclevm.LifeCycleDesc = lifecycle.LifeCycleDesc;

                return(lifecyclevm);
            }
            catch (Exception)
            {
                throw;
            }
        }