15 lines
508 B
C#
15 lines
508 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using LCU.Shared.Collections.RepoApiLib.Models;
|
|
|
|
namespace LCU.API.Collections.RepoApi.Services
|
|
{
|
|
public interface ISavedLocationService
|
|
{
|
|
Task<IEnumerable<SavedLocation>> ListAllAsync();
|
|
Task<SavedLocation> SaveAsync(SavedLocation savedLocation);
|
|
Task<SavedLocation> GetAsync(int id);
|
|
Task<SavedLocation> UpdateAsync(SavedLocation savedLocation);
|
|
Task<SavedLocation> DeleteAsync(int id);
|
|
}
|
|
} |