public void Update(Category category)
 {
     using (var contest = new lugapasalcontext())
     {
         contest.Entry(category).State = System.Data.Entity.EntityState.Modified;
         contest.SaveChanges();
     }
 }