Exemplo n.º 1
0
        public async Task <ServiceResult> Post([FromBody] Car car)
        {
            var userId = User.FindFirst(ClaimTypes.NameIdentifier).Value;

            return(await carService.AddCarDetail(userId, car));
        }