The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
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.

UploadViewModel.cs 766B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Teknik.Utilities;
  6. using Teknik.ViewModels;
  7. namespace Teknik.Areas.Upload.ViewModels
  8. {
  9. public class UploadViewModel : ViewModelBase
  10. {
  11. public string CurrentSub { get; set; }
  12. public bool Encrypt { get; set; }
  13. public int ExpirationLength { get; set; }
  14. public ExpirationUnit ExpirationUnit { get; set; }
  15. public List<Vault.Models.Vault> Vaults { get; set; }
  16. public UploadViewModel()
  17. {
  18. CurrentSub = string.Empty;
  19. Encrypt = false;
  20. ExpirationLength = 1;
  21. ExpirationUnit = ExpirationUnit.Never;
  22. Vaults = new List<Vault.Models.Vault>();
  23. }
  24. }
  25. }