Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Last active February 10, 2020 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LarsBergqvist/fc0904e2caca50187b969cb66ac20a32 to your computer and use it in GitHub Desktop.
Save LarsBergqvist/fc0904e2caca50187b969cb66ac20a32 to your computer and use it in GitHub Desktop.
Repository interface
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