11 lines
273 B
C#
11 lines
273 B
C#
namespace MyOffice.Data.Repositories.Item;
|
|
|
|
using MyOffice.Data.Models.Items;
|
|
|
|
public interface IItemGlobalRepository
|
|
{
|
|
ItemGlobal? Get(Guid id);
|
|
ItemGlobal? GetByName(string name);
|
|
bool Add(ItemGlobal itemGlobal);
|
|
List<ItemGlobal> GetAvailableToUser(Guid userId);
|
|
} |