public List <Equipment> GetAllAviableEquipments(DateTime date)
        {
            BookingSearch    bookSearch    = new BookingSearch();
            List <Equipment> EquipmentList = eqRepo.GetAllEquipments();

            List <Equipment> booklist = bookSearch.GetEquipmentsNotBookedAtTime(date, EquipmentList);

            return(booklist);
        }
        public List <Equipment> GetAllAviableEquipmentsFromCategory(int CatId, DateTime date, List <Equipment> eq)
        {
            BookingSearch bookSearch = new BookingSearch();

            List <Equipment> booklist = eqRepo.GetEquipmentsFromCategory(CatId, eq);

            List <Equipment> EquipmentList = eqRepo.GetAllEquipments();

            booklist = bookSearch.GetEquipmentsNotBookedAtTime(date, EquipmentList);

            return(booklist);
        }