public void Insert(WriteOffTransaction WriteOffTransaction) { var param = new List <SqlParameter> { new SqlParameter("ID", WriteOffTransaction.ID), new SqlParameter("@Description", WriteOffTransaction.@Description), }; Insert(param.ToArray()); }
public void Insert(WriteOffTransaction writeOffTransaction) { _repository.Insert(writeOffTransaction); }