oop_II-6/Service_Server/Service_Server/IService1.cs

28 lines
746 B
C#

using Service_Server.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace Service_Server
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
[ServiceContract]
public interface IService1
{
[OperationContract]
void WritePatient(Person person);
[OperationContract]
void WriteExam(Exam exam);
[OperationContract]
void WriteResult(Result result);
[OperationContract]
List<Doctor> GetDoctors();
// TODO: Add your service operations here
}
}