IServiceObjectDs.cs 397 Bytes
using System.Collections.Generic;
using System.Threading.Tasks;
using MapsModels.DsModels;
using MapsDb.Models;
namespace MapsDb.Interfaces
{
    public interface IServiceObjectDs
    {
        Task<IList<ServiceObjectEditDsM>> GetIndexListAsync();
        Task<ServiceObject> SaveAsync(ServiceObjectEditDsM serviceObject, int? id = null);
        Task<int> DeleteAsync(int? Id);
         
    }
}