Esempio n. 1
0
        public async Task <JsonResult> UpdateHotel(Hotel hotel)
        {
            await YummyOnlineManager.UpdateHotel(hotel);

            await YummyOnlineManager.RecordLog(Log.LogProgram.System, Log.LogLevel.Warning, $"Hotel {hotel.Id} Updated");

            return(Json(new JsonSuccess()));
        }