コード例 #1
0
 public async Task DeletePolicy(Policy policy)
 {
     try
     {
         _context.Remove(policy);
         await _context.SaveChangesAsync();
     }
     catch (Exception e)
     {
         throw e;
     }
 }