Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Last active February 10, 2020 15:33
Embed
What would you like to do?
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