Ejemplo n.º 1
0
        public Usuario Add(Usuario item)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item");
            }

            // TO DO : Code to save record into database
            usuarioEntidad.Usuario.Add(item);
            usuarioEntidad.SaveChanges();
            return(item);
        }