Esempio n. 1
0
 public static void Modificar(Models.Cliente cliente)
 {
     try
     {
         var br = new Rules.Cliente();
         br.Modificar(cliente);
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }
Esempio n. 2
0
        public static void GuardarChatbotName(int IdCliente, string ChatbotName)
        {
            try
            {
                var br      = new Rules.Cliente();
                var cliente = br.ObtenerPorId(IdCliente);

                cliente.ChatbotName = ChatbotName;

                br.Modificar(cliente);
            }
            catch (Exception ex)
            {
                throw (ex);
            }
        }