public bool Equals(DepositModel other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.Id == Id && other.Date.Equals(Date) && other.Value == Value && Equals(other.Source, Source); }
public ActionResult TestDeposit(DepositModel model) { businessLayer.Deposit(User.Identity.Name, model.Value,"manual"); return RedirectToAction("List", new { page = 1 }); }