/// <summary> /// Saves the application. /// </summary> /// <param name="application">The application.</param> /// <returns></returns> public async Task <bool> SaveApplication(ModelApplication application) { using (var db = new MancobaLocalDataApi(_connectionFactory, _platformCapabilities)) { var entity = application.ToEntity(); await db.SaveApplication(entity); return(true); } }