Add movement retrieval and update functionality to stock
This commit is contained in:
@@ -15,6 +15,8 @@ public interface IStockRepository
|
||||
|
||||
// Movements
|
||||
Task AddMovementAsync(StockMovement movement);
|
||||
Task<StockMovement?> GetMovementByIdAsync(Guid id);
|
||||
void UpdateMovement(StockMovement movement);
|
||||
Task<List<StockMovement>> GetMovementsAsync(Guid? locationId, Guid? itemId, MovementType? type, DateTime? from, DateTime? to, int page, int pageSize);
|
||||
Task<int> GetMovementsCountAsync(Guid? locationId, Guid? itemId, MovementType? type, DateTime? from, DateTime? to);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user