refactoring
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace MyOffice.Data.Repositories.Item;
|
||||
|
||||
using MyOffice.Data.Models.Items;
|
||||
|
||||
public interface IItemRepository
|
||||
{
|
||||
List<Item> GetAll(Guid userId);
|
||||
List<Item> GetByCategory(Guid userId, Guid categoryId);
|
||||
|
||||
Item? GetByGlobal(Guid userId, Guid globalMotionId);
|
||||
bool Add(Item item);
|
||||
bool Update(Item item);
|
||||
}
|
||||
Reference in New Issue
Block a user