﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Database.Models;

namespace WCF.Repository
{
    public interface IRepository
    {
        Tamagotchi Get(int id);

        List<Tamagotchi> GetAll();

        void Delete(Tamagotchi tamagotchi);

        void Update(Tamagotchi tamagotchi);

        void Create(Tamagotchi tamagotchi);

        bool SaveChanges();
    }
}