Blame view

src/MapsDb/Interfaces/IServiceObjectDs.cs 397 Bytes
27918c1f   Administrator   add service object
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  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);
           
      }
  }