using InventoryManager.Models; using System.Collections.Generic; using InventoryManager.Tools; namespace InventoryManager.Interfaces { public interface ISuppliers { PaginatedList<Suppliers> GetItems(string SortProperty, SortOrder sortOrder, string SearchText = "", int pageIndex = 1, int pageSize = 5); Suppliers GetItem(int id); Suppliers Create(Suppliers item); Suppliers Edit(Suppliers item); Suppliers Delete(Suppliers item); public bool IsItemUnique(string name); public bool IsItemUnique(string name, int id); } }