CreateReportItemAsync() static private method

static private CreateReportItemAsync ( string title, string description, IMappablePoint point, IStorageFile image ) : Task
title string
description string
point IMappablePoint
image IStorageFile
return Task
        protected override async Task DoSaveAsync()
        {
            // save...
            if (this.IsNew)
            {
                // create a new one...
                await ReportItem.CreateReportItemAsync(this.Item.Title, this.Item.Description, this.Item,
                                                       this.TempImageFile);
            }
            else
            {
                // update the existing data in SQLite...
                await this.Item.InnerItem.UpdateAsync(this.TempImageFile);
            }

            // cleanup...
            await this.CleanupTempImageFileAsync();

            // return...
            this.Host.GoBack();
        }