28 lines
746 B
C#
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
|
|
}
|
|
|
|
}
|