Example #1
0
        public void Create(Empleado entidad)
        {
            entidad.ID_TIENDA = "1"; //Tener pendiente de borrar

            try
            {
                var c = crud.Retrieve <Empleado>(entidad);

                if (c != null)
                {
                }
                else
                {
                    crud.Create(entidad);
                }
            }
            catch (Exception ex)
            {
                ExceptionManager.GetInstance().Process(ex);
            }
        }
Example #2
0
 public void Create(Empleado e)
 {
     crud.Create(e);
 }