public IActionResult GetByModelId(Guid id) { return(Ok(_mapper.Map <IEnumerable <BikeIndexResource> >(_bikeService.GetByModel(id)))); }