oop_II-6/Web_Server_EHEC_model first/Web_Server_EHEC/IService.cs

28 lines
730 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using Web_Server_EHEC.Model;
namespace Web_Server_EHEC
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService" in both code and config file together.
[ServiceContract]
public interface IService
{
[OperationContract]
void WritePatient(Patient patient);
[OperationContract]
void WriteExam(Exam exam);
[OperationContract]
void WriteResult(Result result);
[OperationContract]
void WriteDoctor(Doctor doctor);
}
}