Ejemplo n.º 1
0
        public ActionResult DeleteVoucher(int id)
        {
            bool success = _voucherSer.Delete(id);

            if (success)
            {
                return(Ok("Delete successful!"));
            }
            return(Problem("Delete failed!"));
        }