/// <summary>
 /// To create a category 
 /// </summary>
 /// <param name="categoryObj">Category Object</param>
 public void Post(Category categoryObj)
 {
     try
     {
         ServiceFactory.GetCategory().Create(categoryObj);
     }
     catch (Exception ex){}
 }
 /// <summary>
 /// To Update a category
 /// </summary>
 /// <param name="id">CategoryId</param>
 /// <param name="categoryObj">category Object</param>
 public void Put(string id, Category categoryObj)
 {
     try
     {
       categoryObj.Id = new Guid(id);
         ServiceFactory.GetCategory().Update(categoryObj);
     }
     catch (Exception exp){}
 }