public async Task <BuildingNoticeFileScope> CreateAsync(BuildingNoticeFileScope buildingNoticeFileScope, CancellationToken cancellationToken = default(CancellationToken))
        {
            if (buildingNoticeFileScope == null)
            {
                throw new ArgumentNullException(nameof(buildingNoticeFileScope));
            }
            Context.Add(buildingNoticeFileScope);
            await Context.SaveChangesAsync(cancellationToken);

            return(buildingNoticeFileScope);
        }
 public async Task DeleteAsync(BuildingNoticeFileScope buildingNoticeFileScope, CancellationToken cancellationToken = default(CancellationToken))
 {
     if (buildingNoticeFileScope == null)
     {
         throw new ArgumentNullException(nameof(buildingNoticeFileScope));
     }
     Context.Remove(buildingNoticeFileScope);
     try
     {
         await Context.SaveChangesAsync(cancellationToken);
     }
     catch (DbUpdateConcurrencyException)
     {
         throw;
     }
 }