public ActionResult CopyCitation(MyLibraryModel Model, int specid, string actionFirst, string actionSecond, int oid, int fid, int MID, FormCollection Collection, int start = 1) { if (actionFirst != null) { if (!string.IsNullOrEmpty(Collection["ddlUserSubTopic"])) { var Result = MyLibraryBL.CopyCitation(MID, Collection["ddlUserSubTopic"], CurrentUser.UserId); return(RedirectToAction("index", "mylibrary", new { specid = Result, oid = Collection["SelectedTopic"], fid = Collection["ddlUserSubTopic"], selaction = "saved", start = start })); } else { return(RedirectToAction("abstract", "mylibrary", new { specid = specid, oid = oid, fid = fid, MID = MID })); } } else { if (!string.IsNullOrEmpty(Collection["ddlUserSubTopicSecond"])) { var Result = MyLibraryBL.CopyCitation(MID, Collection["ddlUserSubTopicSecond"], CurrentUser.UserId); return(RedirectToAction("index", "mylibrary", new { specid = Result, oid = Collection["SelectedTopicSecond"], fid = Collection["ddlUserSubTopicSecond"], selaction = "saved", start = start })); } else { return(RedirectToAction("abstract", "mylibrary", new { specid = specid, oid = oid, fid = fid, MID = MID })); } } }