// GET api/<controller>/5 public async Task <IHttpActionResult> Get(int id) { var special = await specialRepository.GetWithFood(id); if (special == null) { return(NotFound()); } var specialDto = _mapper.Map <SpecialDto>(special); return(Ok(specialDto)); }