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