public static bool BOT_CUSTOMERINFO_Ins(BOT_CUSTOMERINFO data) { try { using (BotDBContext context = new BotDBContext()) { try { context.BOT_CUSTOMERINFO.Add(data); context.SaveChanges(); return(true); } catch (Exception ex) { return(false); } } } catch (Exception ex) { return(false); } }