equal
deleted
inserted
replaced
|
1 using System; |
|
2 using System.Collections.Generic; |
|
3 using System.Linq; |
|
4 using System.Text; |
|
5 using FingersDance.Data; |
|
6 |
|
7 namespace FingersDance.ViewModels |
|
8 { |
|
9 public class ProjectViewModel : ViewModelBase |
|
10 { |
|
11 readonly Project project = new Project(); |
|
12 |
|
13 #region Constructor |
|
14 |
|
15 public ProjectViewModel() { } |
|
16 |
|
17 public ProjectViewModel(Project p) |
|
18 { |
|
19 project = p; |
|
20 } |
|
21 |
|
22 #endregion |
|
23 |
|
24 #region Properties |
|
25 |
|
26 public User User |
|
27 { |
|
28 get { return project.User; } |
|
29 set { project.User = value; } |
|
30 } |
|
31 |
|
32 public Cutting Cutting |
|
33 { |
|
34 get { return project.Cutting; } |
|
35 set { project.Cutting = value; } |
|
36 } |
|
37 |
|
38 #endregion |
|
39 } |
|
40 } |