Beispiel #1
0
        public void UpdateMedicamentoxSucursal([FromBody] MedicamentoxSucursal mxs)
        {
            MedicamentoxSucursalService con = new MedicamentoxSucursalService();

            con.UpdateMedicamentoxSucursal(mxs);
        }
Beispiel #2
0
        public void DeleteMedicamentoxSucursal([FromBody] int id)
        {
            MedicamentoxSucursalService con = new MedicamentoxSucursalService();

            con.DeleteMedicamentoxSucursal(id);
        }
Beispiel #3
0
        public void UpdateCantidad([FromBody] UpdateCantidad mxs)
        {
            MedicamentoxSucursalService con = new MedicamentoxSucursalService();

            con.UpdateCantidad(mxs);
        }
Beispiel #4
0
        public void PostMedicamento([FromBody] MedicamentoxSucursal mxs)
        {
            MedicamentoxSucursalService con = new MedicamentoxSucursalService();

            con.PostMedicamentoxSucursal(mxs);
        }
Beispiel #5
0
        public IHttpActionResult GetMedicamentoxSucursal(int id)
        {
            MedicamentoxSucursalService con = new MedicamentoxSucursalService();

            return(Ok(con.GetMedicamentoxSucursal(id)));
        }
Beispiel #6
0
        public IHttpActionResult GetAllMedicamentoxCasaFarmaceutica()
        {
            MedicamentoxSucursalService con = new MedicamentoxSucursalService();

            return(Ok(con.GetAllMedicamentoxSucursal()));
        }