15 lines
385 B
C#
15 lines
385 B
C#
using Aps_Single_Page_Anwendung.Models;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Aps_Single_Page_Anwendung.Repositories
|
|
{
|
|
public interface ISpeiseRepository
|
|
{
|
|
IEnumerable<Speise> GetSpeisen();
|
|
Speise GetSpeiseById(int id);
|
|
Speise CreateSpeise(Speise speise);
|
|
Speise UpdateSpeise(Speise speise);
|
|
void DeleteSpeise(int id);
|
|
}
|
|
}
|