コード例 #1
0
        public async Task RemoveStandardFromApplication(ApplicationStandard relation)
        {
            var application = await GetApplication(relation.ApplicationId);

            application.RemoveApplicationStandard(relation.StandardId);

            await SaveChanges();
        }
コード例 #2
0
        public async Task AddStandardToApplication(ApplicationStandard relation)
        {
            var application = await GetApplication(relation.ApplicationId);

            application.ApplicationStandards.Add(relation);

            await SaveChanges();
        }