/// <summary> /// Adds or updates the given model in the database /// depending on its state. /// </summary> /// <param name="content">The content to save</param> public static void Save(this MediaService service, Models.MediaContent content) { service.SaveAsync(content).GetAwaiter().GetResult(); }