public string DeleteCategory(string id)
 {
     int CategoryID = Convert.ToInt32(id);
     using (AssociateConnDataContext asscon = new AssociateConnDataContext())
     {
         try
         {
             int retasct = 0;
             retasct = asscon.Delete_Category(CategoryID);
             if (!(retasct == 0))
                 return "success";
             else
                 return "failure";
         }
         catch (Exception ex)
         {
             throw ex;
         }
     }
 }