Spaces:
Running
Running
File size: 566 Bytes
7039b6a 6d07d79 7039b6a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | using FlowAPI.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FlowAPI.Application.Interfaces
{
public interface ICustomTemplateRepository
{
Task<CustomTemplate?> GetByIdAsync(Guid id);
Task<IEnumerable<CustomTemplate>> GetByUserIdAsync(Guid userId);
Task<CustomTemplate> CreateAsync(CustomTemplate template);
Task<CustomTemplate> UpdateAsync(CustomTemplate template);
Task<bool> DeleteAsync(Guid id);
Task<int> CountByUserIdAsync(Guid userId);
}
}
|