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()); }
public IEnumerable <Thing> GetCurrent() { return(_thingService.GetCurrentActivity()); }