public ContentResult Post([FromBody] int value) { if (value < 1) { return(Content("Bad Request - Change Parameter")); } var time = _timeRepository.IncreaseTime(value); return(Content("Time is 0" + time + ".00")); }