SHA256
19 lines
736 B
C#
19 lines
736 B
C#
using Somnia.GuestLog.Models.DTOs;
|
|
|
|
namespace Somnia.GuestLog.Services.Entity;
|
|
|
|
public interface IStayExportFileEntityService
|
|
{
|
|
public Task<Result> CreateStayExportAsync(StayExportFileDTO dto);
|
|
public Task<Result> UpdateStayExportAsync(StayExportFileDTO dto);
|
|
|
|
/// <summary>
|
|
/// Delete StayExport entry from DB.
|
|
/// Exported File won't be deleted from Storage.
|
|
/// </summary>
|
|
public Task<Result> DeleteStayExportAsync(StayExportFileDTO dto);
|
|
|
|
public Task<StayExportFileDTO?> GetDtoByIdAsync(long id);
|
|
//public Task<IEnumerable<StayExportFileDTO>> GetDtoListByFilterAsync(StayExportFileFilterDTO filter, int limit = 0);
|
|
public Task<IEnumerable<StayExportFileDTO>> GetDtoListAsync(int limit = 0);
|
|
} |