コード例 #1
0
 public ICollection<TransactionDirection> GetTransactionDirections()
 {
     var repository = new TransactionDirectionRepository(_db);
     return repository.GetAll().ToList();
 }
コード例 #2
0
 public TransactionDirection GetTransactionDirection(int Id)
 {
     var repository = new TransactionDirectionRepository(_db);
     return repository.FindBy(c => c.Id == Id).SingleOrDefault();
 }