public static internalDTO.UserFavouriteProvider MapFromExternal(externalDTO.UserFavouriteProvider userFavouriteProvider)
        {
            var res = userFavouriteProvider == null ? null : new internalDTO.UserFavouriteProvider
            {
                Id         = userFavouriteProvider.Id,
                ProviderId = userFavouriteProvider.ProviderId,
                Provider   = ProviderMapper.MapFromExternal(userFavouriteProvider.Provider),
                AppUserId  = userFavouriteProvider.AppUserId
            };


            return(res);
        }
        public static internalDTO.FoodItem MapFromExternal(externalDTO.FoodItem foodItem)
        {
            var res = foodItem == null ? null : new internalDTO.FoodItem
            {
                Id             = foodItem.Id,
                ProviderId     = foodItem.ProviderId,
                Provider       = ProviderMapper.MapFromExternal(foodItem.Provider),
                DateStart      = foodItem.DateStart,
                DateEnd        = foodItem.DateEnd,
                FoodCategoryId = foodItem.FoodCategoryId,
                FoodCategory   = FoodCategoryMapper.MapFromExternal(foodItem.FoodCategory),
                NameEng        = foodItem.NameEng,
                NameEst        = foodItem.NameEst
            };


            return(res);
        }