public static void Delete(Role role)
 {
     using (AuguryEntities ctx = new AuguryEntities()) {
         ctx.Roles.Remove(role);
         ctx.SaveChanges();
     }
 }
 public static void Create(Role role)
 {
     using (AuguryEntities ctx = new AuguryEntities()) {
         ctx.Roles.Add(role);
         ctx.SaveChanges();
     }
 }
 public static void Update(Role role)
 {
     using (AuguryEntities ctx = new AuguryEntities()) {
         Role roleToUpdate = ctx.Roles.Single(r => r.Id == role.Id);
         roleToUpdate.Description = role.Description;
         roleToUpdate.Name = role.Name;
         ctx.SaveChanges();
     }
 }