Spaces:
Running
Running
Download FlowAPI.Application/Interfaces/ICustomTemplateRepository.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/ICustomTemplateRepository.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/ICustomTemplateRepository.cs
-
curl -L -o ICustomTemplateRepository.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/d8ea1e09beb0ef2cedc523cc8585fea6cc52c013/FlowAPI.Application/Interfaces/ICustomTemplateRepository.cs
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); | |
| } | |
| } | |