// GET api/<controller> public async Task <IHttpActionResult> Get() { var specials = await specialRepository.GetAllWithFoods(); var specialDtos = specials.Select(_mapper.Map <SpecialDto>); return(Ok(specialDtos)); }