public void DateTimeValueIsCapturedFluent()
		{
			var inputModel = new DateTimeInputModel
				{
					Id = new DateTime(2012, 5, 30)
				};

			config.ShouldMap("/api/WithDateTime/2012-05-30")
				.To<WithDateTimeController>(HttpMethod.Get, c => c.Get(inputModel));
		}
Пример #2
0
 public HttpResponseMessage Get(DateTimeInputModel model)
 {
     return(new HttpResponseMessage());
 }
		public HttpResponseMessage Get(DateTimeInputModel model)
		{
			return new HttpResponseMessage();
		}