示例#1
0
 public IEnumerable <LaboratoryTests> Get()
 {
     try
     {
         List <LaboratoryTests> ltList = new List <LaboratoryTests>();
         LaboratoryTests        lt     = new LaboratoryTests();
         ltList = lt.Read();
         return(ltList);
     }
     catch (Exception e)
     {
         throw new Exception("בעיה בשליפת נתונים");
     }
 }
示例#2
0
        public void Post(string idTest)
        {
            LaboratoryTests lt = new LaboratoryTests();

            lt.ChangeActiveLabTest(idTest);
        }
示例#3
0
        public IEnumerable <LaboratoryTests> GetLabWithPatient(int NumPatient)
        {
            LaboratoryTests l = new LaboratoryTests();

            return(l.GetLab(NumPatient));
        }
示例#4
0
        public LaboratoryTests Get(int IdTest)
        {
            LaboratoryTests lt = new LaboratoryTests();

            return(lt.Getlt(IdTest));
        }
示例#5
0
 public void Put([FromBody] LaboratoryTests lt)
 {
     lt.PutLt();
 }
示例#6
0
 public void Post([FromBody] LaboratoryTests lt)
 {
     lt.insertLt();
 }