Example #1
0
        public ActionResult GaveMoney(int id)
        {
            using (var collectService = new CollectsService())
            {
                collectService.GaveMoneyChange(id);

                int collectId = collectService.GetCollectId(id);

                return(RedirectToAction("Index", new { id = collectId }));
            }
        }