Пример #1
0
        public IHttpActionResult Get([FromUri] Guid id)
        {
            var schedule = _reader.For(id);

            return(schedule != null ? (IHttpActionResult)Ok(Convert(schedule)) : NotFound());
        }
 public TestContext Act()
 {
     _result = _sut.For(_scheduleId);
     return(this);
 }