Publish from private repository

This commit is contained in:
Gitea Actions
2026-08-01 11:57:50 +00:00
commit 10d87c4ff1
694 changed files with 69367 additions and 0 deletions
@@ -0,0 +1,17 @@
namespace MyOffice.Data.Repositories.Item;
using MyOffice.Data.Models.Items;
public interface IItemCategoryRepository
{
List<ItemCategory> GetAll(Guid userId);
Task<List<ItemCategory>> GetAllAsync(Guid userId, CancellationToken cancellationToken = default);
bool Add(ItemCategory accountCategory);
Task<bool> AddAsync(ItemCategory accountCategory, CancellationToken cancellationToken = default);
ItemCategory? Get(Guid userId, Guid id);
Task<ItemCategory?> GetAsync(Guid userId, Guid id, CancellationToken cancellationToken = default);
bool Update(ItemCategory accountCategory);
Task<bool> UpdateAsync(ItemCategory accountCategory, CancellationToken cancellationToken = default);
bool Remove(ItemCategory accountCategory);
Task<bool> RemoveAsync(ItemCategory accountCategory, CancellationToken cancellationToken = default);
}