public static bool Add_LoaiTK(Loai_TK obj)
 {
     using (ThanhHa_MotorCycleEntities entities = new ThanhHa_MotorCycleEntities())
     {
         entities.Loai_TK.Add(obj);
         entities.SaveChanges();
         return(true);
     }
 }
        public static bool Edit_LoaiTK(Loai_TK obj)
        {
            using (ThanhHa_MotorCycleEntities entities = new ThanhHa_MotorCycleEntities())
            {
                Loai_TK hang_SX = entities.Loai_TK.Find(obj.id_LoaiTK);
                hang_SX.name_LoaiTK    = obj.name_LoaiTK;
                hang_SX.descrip_LoaiTK = obj.descrip_LoaiTK;

                entities.SaveChanges();
                return(true);
            }
        }