Пример #1
0
 public Version GetLatestVersion(string module = "Shell")
 {
     using (var uow = this.GetUnitOfWork())
     {
         return(!Exists(module) ? null : VersionRepository.Query(v => v.Module.Equals(module)).OrderByDescending(v => v.Date).FirstOrDefault());
     }
 }