Skip to content
Snippets Groups Projects
IFlightServiceClient.cs 581 B
Newer Older
using BookingMicroservice.Migrations;
using BookingMicroservice.Models;
using BookingMicroservice.Services;
using static System.Runtime.InteropServices.JavaScript.JSType;

namespace BookingMicroservice.Clients
{
    public interface IFlightServiceClient
    {
        Task<HttpResponseMessage> GetFlightCapacityAsync(int flightId, int classType);
        Task<HttpResponseMessage> IsSeatAvailableAsync(int seatId);
        Task<HttpResponseMessage> BookSeatAsync(int seatId);
        Task<HttpResponseMessage> GetFlightsByIdAsync(FlightIdCollection flightIdCollection);