Example #1
0
 public override FileLink SaveFile(IRepository repository)
 {
     var id = repository.CreateNew(Name);
     var link = new FileLink { Id = id };
     Link = link;
     return link;
 }
Example #2
0
 protected override FileLink SaveFilePerform(IRepository repository)
 {
     var id = repository.CreateNew(Name);
     var link = new FileLink { Id = id, Metadata = Metadata };
     return link;
 }