예제 #1
0
 public async Task RemoveLogoAsync(ReportLogo logo)
 {
     context.ReportLogos.Remove(logo);
     await context.SaveChangesAsync();
 }
예제 #2
0
 public async Task AddLogoAsync(ReportLogo logo)
 {
     context.ReportLogos.Add(logo);
     await context.SaveChangesAsync();
 }