public bool Update(Translation Translation) { try { db.Entry(Translation).State = System.Data.EntityState.Modified; db.SaveChanges(); return(true); } catch (Exception e) { Console.WriteLine(e.Message); return(false); } }