Exemplo n.º 1
0
        public async Task <HttpResponseMessage> GetVehicleMakes()
        {
            var vehicleMakes = Mapper.Map <IEnumerable <VehicleMakeViewModel> >(await _vehicleMakeService.GetAllVehicleMake());

            return(Request.CreateResponse(HttpStatusCode.OK, vehicleMakes));
        }