IBusStopDs.cs 409 Bytes
using System.Collections.Generic;
using System.Threading.Tasks;
using MapsModels.DsModels;
using MapsDb.Models;
namespace MapsDb.Interfaces
{
    public interface IBusStopDs
    {
        Task<IList<BusStopEditDsM>> GetIndexListAsync();
        Task<BusStop> CreateAsync(BusStopEditDsM busStop);
        Task<BusStop> UpdateAsync(BusStopEditDsM busStop, int id);
        Task<int> DeleteAsync(int Id);
    }
}