/// <summary>
 /// Fetch All UserGroup items from Database
 /// </summary>
 /// <returns>Json object</returns>
 public string GetUserGroups()
 {
     try
     {
         var userList = _iUserGroupDal.GetUserGroups();
         return(JsonConvert.SerializeObject(userList));
     }
     catch (Exception ex)
     {
         log.Error("Exception in Method GetUserGroups", ex);
         throw;
     }
 }