feat(giving): offering-session batch service with server-side totals + locking
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using ROLAC.API.DTOs.Giving;
|
||||
using ROLAC.API.DTOs.Shared;
|
||||
|
||||
namespace ROLAC.API.Services;
|
||||
|
||||
public interface IOfferingSessionService
|
||||
{
|
||||
Task<PagedResult<OfferingSessionListItemDto>> GetPagedAsync(
|
||||
int page, int pageSize, DateOnly? from, DateOnly? to);
|
||||
Task<OfferingSessionDto?> GetByIdAsync(int id);
|
||||
Task<bool> DateExistsAsync(DateOnly date);
|
||||
Task<int> CreateAsync(CreateOfferingSessionRequest request);
|
||||
Task ReopenAsync(int id);
|
||||
Task ReplaceAsync(int id, CreateOfferingSessionRequest request);
|
||||
}
|
||||
Reference in New Issue
Block a user