public static Models.BootEntry GetBootEntry(int BootEntryId) { using (var uow = new DAL.UnitOfWork()) { return uow.BootEntryRepository.GetById(BootEntryId); } }