18 lines
393 B
C#
18 lines
393 B
C#
using ProjectOpticsSalon.Entites;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectOpticsSalon.Repositories;
|
|
|
|
public interface ILensRepository
|
|
{
|
|
IEnumerable<Lens> ReadLens();
|
|
Lens ReadLensById(int id);
|
|
void CreateLens(Lens lens);
|
|
void UpdateLens(Lens lens);
|
|
void DeleteLens(int id);
|
|
}
|