public ActionResult Add(ManualAdjustment adjustment)
 {
     _userRewardPointsAdminService.AddAdjustment(adjustment);
     return(RedirectToAction("Edit", "User", new { id = adjustment.User.Id }));
 }
Beispiel #2
0
 public void AddAdjustment(ManualAdjustment adjustment)
 {
     adjustment.AdjustedBy = _getCurrentUser.Get();
     _session.Transact(session => session.Save(adjustment));
 }