Example #1
0
 public void AddPostEntry()
 {
     var postEntry = new PostEntry
     {
         FirstName = "Maxym",
         LastName = "Goliak",
         ContainerID = "F**K'N CONTAINER",
         DateOfDischarge = DateTime.Now,
         DateOfReport = DateTime.Now,
         DateUplifted = DateTime.Now,
         Balance = 100,
         TSDocId = 1
     };
     provider.PostEntries.AddNew(postEntry);
     Items.Add(new PostEntryVM(postEntry));
 }
Example #2
0
 public PostEntryVM(PostEntry pe)
 {
     this.entry = pe;
 }