COP_Petrushin_PIbd-32/Models/Repositories/IManufacturerRepository.cs

19 lines
493 B
C#
Raw Normal View History

2024-10-30 13:34:23 +04:00
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);
}
}