Last active
February 10, 2020 15:33
-
-
Save LarsBergqvist/fc0904e2caca50187b969cb66ac20a32 to your computer and use it in GitHub Desktop.
Repository interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
namespace LocPoc.Contracts | |
{ | |
public interface ILocationsRepository | |
{ | |
IEnumerable<Location> GetAll(); | |
Location Get(string id); | |
Location Create(Location location); | |
Location Update(Location location); | |
void Delete(string id); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment