public List <GetCarType> GetCarType()
        {
            List <GetCarType> list = new List <GetCarType>();

            using (_ctx = new GuildCarsEntities())
            {
                var carTypes = _ctx.GetCarType();

                foreach (var type in carTypes)
                {
                    GetCarType c = new GetCarType();

                    c.TypeId   = type.TypeId;
                    c.TypeName = type.TypeName;

                    list.Add(c);
                }
            }
            return(list);
        }