/WCFWebApi/samples/scenario/ContactManager_Simple/Infrastructure/IContactRepository.cs
# · C# · 21 lines · 12 code · 6 blank · 3 comment · 0 complexity · a04c747fd0c69b478f486249a8db935c MD5 · raw file
- // <copyright>
- // Copyright (c) Microsoft Corporation. All rights reserved.
- // </copyright>
-
- namespace ContactManager_Simple
- {
- using System.Collections.Generic;
-
- public interface IContactRepository
- {
- void Update(Contact updatedContact);
-
- Contact Get(int id);
-
- List<Contact> GetAll();
-
- void Post(Contact contact);
-
- void Delete(int id);
- }
- }