14 lines
453 B
C#
14 lines
453 B
C#
using StockHistory.Models;
|
|
|
|
namespace StockHistory.Services
|
|
{
|
|
public interface ITransactionNotesServices
|
|
{
|
|
Task AddAsync(TransactionNote transactionNote);
|
|
Task DeleteAsync(int id);
|
|
Task<List<TransactionNote>> GetAllAsync();
|
|
Task<TransactionNote?> GetByIdAsync(int id);
|
|
Task<List<TransactionNote>> GetByStockCodeAsync(string stockCode);
|
|
Task UpdateAsync(TransactionNote transactionNote);
|
|
}
|
|
} |