/// <summary> /// to set and get dynamic url for skill /// </summary> /// <param name="skillSetObjFromUi"></param> /// <param name="dropBox"> </param> /// <param name="skillSetUrl"></param> /// <param name="isEditMode"></param> /// <param name="folderIdentifier"></param> /// <returns></returns> private string FormAndSetUrlForSkillSet(SkillSet skillSetObjFromUi, DropBoxLink dropBox, string skillSetUrl, bool isEditMode, string folderIdentifier) { if (isEditMode) { return skillSetUrl; } if (String.IsNullOrEmpty(skillSetUrl) && String.IsNullOrEmpty(folderIdentifier)) { return string.Format(_skillSetDocument.GetAssignmentUrl(dropBox,DocumentPath.Module.SkillSets,AppConstants.Create), skillSetUrl, skillSetObjFromUi.GetNewGuidValue()); } if (String.IsNullOrEmpty(skillSetUrl) && !String.IsNullOrEmpty(folderIdentifier)) { return folderIdentifier + "/"+Respository.Skillsets + "/" + skillSetObjFromUi.GetNewGuidValue(); } return String.Empty; }