Publish from private repository

This commit is contained in:
Gitea Actions
2026-08-01 12:08:49 +00:00
commit 6f7fd61ee9
695 changed files with 69563 additions and 0 deletions
@@ -0,0 +1,14 @@
namespace MyOffice.Data.Repositories.Item;
using MyOffice.Data.Models.Items;
public interface IItemGlobalRepository
{
ItemGlobal? Get(Guid id);
ItemGlobal? GetByName(string name);
Task<ItemGlobal?> GetByNameAsync(string name, CancellationToken cancellationToken = default);
bool Add(ItemGlobal itemGlobal);
Task<bool> AddAsync(ItemGlobal itemGlobal, CancellationToken cancellationToken = default);
List<ItemGlobal> GetAvailableToUser(Guid userId);
Task<List<ItemGlobal>> GetAvailableToUserAsync(Guid userId, CancellationToken cancellationToken = default);
}