22 lines
432 B
C#
22 lines
432 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using ProjectCompRepair.Entities;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectCompRepair.Repositories;
|
|
|
|
public interface IServiceRepository
|
|
{
|
|
IEnumerable<Service> ReadService();
|
|
|
|
Service ReadServiceById(int id);
|
|
|
|
void CreateService(Service service);
|
|
|
|
void UpdateService(Service service);
|
|
|
|
void DeleteService(int id);
|
|
}
|