public virtual void Remove(KT_CTTyLePB user)
 {
     try
     {
         db.KT_CTTyLePBs.DeleteOnSubmit(user);
         db.SubmitChanges();
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }
 public virtual void Create(KT_CTTyLePB user)
 {
     try
     {
         this.db.KT_CTTyLePBs.InsertOnSubmit(user);
         db.SubmitChanges();
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }
 public virtual void Update(KT_CTTyLePB user)
 {
     try
     {
         KT_CTTyLePB userOld = this.GetById(user.ID);
         userOld = user;
         db.SubmitChanges();
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }
 public virtual int Delete(KT_CTTyLePB user)
 {
     try
     {
         //user.IsDelete = true;
         db.SubmitChanges();
         return 0;
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }