19 lines
493 B
C#
19 lines
493 B
C#
|
using Data.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Data.Repositories
|
|||
|
{
|
|||
|
public interface IManufacturerRepository
|
|||
|
{
|
|||
|
IEnumerable<Manufacturer> GetAllManufacturers();
|
|||
|
Manufacturer GetManufacturerById(int id);
|
|||
|
void AddManufacturer(Manufacturer manufacturer);
|
|||
|
void UpdateManufacturer(Manufacturer manufacturer);
|
|||
|
void DeleteManufacturer(int id);
|
|||
|
}
|
|||
|
}
|