Spaces:
Running

FlowAPI / FlowAPI.Application /Interfaces /ICustomTemplateRepository.cs
danylokhodus's picture
Claude Opus 5.5
feat: remove AI assistant, Free/Plus plans, user templates API, security fixes
6d07d79
Raw History Blame Contribute Delete
566 Bytes
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);
}
}