public static async Task <Result> Insert(ResumeBackgroundServiceDbContext db, FootballTeam footballTeam)
 {
     return(await ProcessInsert(e => db.Add(e), async() => await db.SaveChangesAsync(), footballTeam));
 }
 public static async Task <Result> Update(ResumeBackgroundServiceDbContext db, FootballTeam footballTeam)
 {
     try
     {
         return(await ProcessUpdate(e => { db.Attach(e); db.Update(e); }, async() => await db.SaveChangesAsync(), footballTeam));
     }
     catch (Exception ex)
     {
         throw;
     }
 }