BLL.BootEntry.DeleteBootEntry C# (CSharp) Method

DeleteBootEntry() public static method

public static DeleteBootEntry ( int BootEntryId ) : bool
BootEntryId int
return bool
        public static bool DeleteBootEntry(int BootEntryId)
        {
            using (var uow = new DAL.UnitOfWork())
            {
                uow.BootEntryRepository.Delete(BootEntryId);
                return uow.Save();
            }
        }