unit Api.Service;

interface

uses
  XData.Service.Common,
  Aurelius.Mapping.Attributes,
  System.JSON,
  System.Generics.Collections,
  System.Classes;

const
  API_MODEL = 'Api';

type
  [ServiceContract, Model(API_MODEL)]
  IApiService = interface(IInvokable)
    ['{4FCB7FAF-44E5-49D6-9C0F-EE44BFB33313}']
    [HttpGet] function GetComplaintList: TJSONObject;
    [HttpGet] function GetUnitList: TJSONObject;
  end;

implementation


end.
