Пример #1
0
        public IEnumerable <Thing> Get()
        {
            /*
             * Thing wmx = new Thing();
             * wmx.Id = Guid.NewGuid().ToString();
             * wmx.LastUpdateDateTime = DateTime.Now;
             *
             * try
             * {
             *  _thingService.SetCurrentActivity(wmx);
             * }
             * catch (Exception ex)
             * {
             *  Console.WriteLine(ex.Message);
             * }
             */

            return(_thingService.GetCurrentActivity());
        }
Пример #2
0
 public IEnumerable <Thing> GetCurrent()
 {
     return(_thingService.GetCurrentActivity());
 }