Esempio n. 1
0
        public HttpResponseMessage SaveMedicines(Medicines medicineToAdd)
        {
            MedicineRepository medicineRepository = new MedicineRepository();

            bool sucess = medicineRepository.updateDeleteMedicine(medicineToAdd);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, "OK");

            return(response);
        }