Asp.Net_Single_Page_App/Aps Single Page Anwendung/Repositories/ISpeiseRepository.cs

15 lines
385 B
C#
Raw Normal View History

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);
}
}