public ObligationsViewModel GetObligationsViewModel(int resolvedClientId)
        {
            Contract.Requires<ArgumentOutOfRangeException>(resolvedClientId.IsPositive());
            IEnumerable<Obligation> obligations = this.clientProfileService.GetClientObligations(resolvedClientId);

            var model = new ObligationsViewModel
            {
                ClientId = resolvedClientId,
                Obligations = MapToObligationViewModel(obligations.ToList())
            };
            return model;
        }
 public void SaveObligations(ObligationsViewModel model)
 {
     throw new NotImplementedException();
 }
        public ActionResult Obligations(ObligationsViewModel model)
        {
            if (!this.ModelState.IsValid)
            {
                return this.View(model);
            }

            model.ClientId = this.ResolveClientId(model.ClientId);
            this.clientProfileManager.SaveObligations(model);
            return this.RedirectToAction("Property");
        }