public string EditCategory(Associate.Category category)
 {
     int CategoryID = Convert.ToInt32(category.CategoryID);
     int IsActive = Convert.ToInt32(category.IsActive);
     using (AssociateConnDataContext asscon = new AssociateConnDataContext())
     {
         try
         {
             int retval = 0;
             retval = asscon.Update_Category(CategoryID, category.CategoryDesc, IsActive);
             if (!(retval == 0))
                 return "success";
             else
                 return "failure";
         }
         catch (Exception ex)
         {
             throw ex;
         }
     }
 }