public bool Insert(RestaurantViewModel restaurant)
        {
            Restaurant domainRestaurant = restaurant.ConvertToDomain();

            try
            {
                _unitOfWork.RestaurantRepository.Insert(domainRestaurant);
                _unitOfWork.Save();
            }
            catch
            {
                return false;
            }

            return true;
        }
        public bool Update(RestaurantViewModel restaurantToUpdate)
        {
            Restaurant domainRestaurantToUpdate = restaurantToUpdate.ConvertToDomain();

            try
            {
                _unitOfWork.RestaurantRepository.Update(domainRestaurantToUpdate);
                _unitOfWork.Save();
            }
            catch
            {
                return false;
            }

            return true;
        }