Created
July 3, 2019 14:22
-
-
Save GeradeDev/d80f27c4279448ad674fcc2aaeca0a9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MedPark.API.Gateway.Messages.Commands; | |
using MedPark.API.Gateway.Models; | |
using Microsoft.AspNetCore.Mvc; | |
using RestEase; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace MedPark.API.Gateway.Services | |
{ | |
[SerializationMethods(Query = QuerySerializationMethod.Serialized)] | |
public interface ICustomerService | |
{ | |
[Get("/customers/{id}")] | |
Task<Customer> GetCustomer([Path] Guid id); | |
[Get("/address/{id}")] | |
Task<List<Address>> GetAddreses([Path] Guid id); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment