public RenameAccountViewModel(Account account) { LogManager.GetLog(GetType()).Info("Create"); _account = account; Name = _account.Name; }
public AccountDetailViewModel(Account account) { LogManager.GetLog(GetType()).Info("Create"); _name = account.Name; _account = account; }
public AddChildViewModel(Account account) { LogManager.GetLog(GetType()).Info("Create"); _account = account; Detail = new ChildDetailViewModel() { BirthDay = DateTimeProvider.Now() }; }
public EditChildViewModel(Account _account, Child child) { LogManager.GetLog(GetType()).Info("Create"); this._account = _account; this._child = child; Detail = new ChildDetailViewModel(_child); }
public EditMemberViewModel(Account account, Member member) { LogManager.GetLog(GetType()).Info("Create"); _account = account; _member = member; FirstName = _member.FirstName; LastName = _member.LastName; Phone = _member.Phone; }
public AddMemberViewModel(Account account) { LogManager.GetLog(GetType()).Info("Create"); _account = account; }