public static PacketsModel EntityToModel(this Packets entity, bool virtualActive = false)
        {
            try
            {
                PacketsModel model = new PacketsModel()
                {
                    Description = entity.Description,
                    Name = entity.Name,
                    IsActive = entity.IsActive,
                    PricePercentage = entity.PricePercentage,
                    Id = entity.Id
                };
                if (virtualActive)
                {
                    model.RoomSales = entity.RoomSales;
                    model.PacketsExtraProductCategories = entity.PacketsExtraProductCategories;

                }
                return model;
            }
            catch (Exception)
            {

                return new PacketsModel();
            }
        }
        public ActionResult PacketInsert(PacketsModel model)
        {
            if (ModelState.IsValid)
            {
                _servicePackets.Insert(model.ModelToEnity());
            }

            return RedirectToAction("PacketList");
        }