FlowAPI / FlowAPI.Application /Interfaces /ICustomTemplateRepository.cs
danylokhodus's picture
Implement custom templates and subscription tiers backend changes
7039b6a
Raw
History Blame Contribute Delete
407 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);
}
}