public void Delete(int id) { var parameters = new List <SqlParameter> { helper.CreateParameter("@id", id, DbType.Int32) }; helper.Delete("DeletePicture", CommandType.StoredProcedure, parameters.ToArray()); }
public void Delete(int id) { var parameters = new SqlParameter[] { helper.CreateParameter("@Id", id, DbType.Int32) }; helper.Delete("DeleteUser", CommandType.StoredProcedure, parameters); }