Beispiel #1
0
 public List <CarMakeDTO> List()
 {
     using (CarRentalEntities context = new CarRentalEntities())
     {
         List <CarMake> carsMakes = context.usp_CarMake_List().ToList();
         return(carMakeMapping.MapToListCarMakeDTO(carsMakes));
     }
 }