You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Model;
|
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
|
|
|
|
|
namespace ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class ManagerVM
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
#region Fields
|
|
|
|
|
|
|
|
|
|
private Manager model;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Properties
|
|
|
|
|
|
|
|
|
|
public Manager Model
|
|
|
|
|
{
|
|
|
|
|
get => model;
|
|
|
|
|
private set => model = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ICommand GetBooksByTitleCommand;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Constructor
|
|
|
|
|
|
|
|
|
|
public ManagerVM(Manager model)
|
|
|
|
|
{
|
|
|
|
|
Model = model;
|
|
|
|
|
//GetBooksByTitleCommand = new Command(async () =>)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|