public string GetEndPoint(ServiceType type, Operation operation) { string endPoint = serviceConfig.ToList().Find(x => x.Key == type).Value.PathAndQuery.ToString().Replace(ServiceUrl, "") + operation.GetValueAsString(); if (endPoint.IndexOf(Constants.userid) > 0) endPoint = endPoint.Replace(Constants.userid, UserId); return endPoint; }