BLL.Asignaturas.Insertar C# (CSharp) Method

Insertar() public method

public Insertar ( ) : bool
return bool
        public bool Insertar()
        {
            return Conexion.EjecutarDB("insert into Asignaturas(Codigo, Nombre, Creditos, Activo)" +
            "Values('" + this.Codigo + "','" + this.Nombre + "'," + this.Creditos + ",'" + this.Activo + "')");
        }