public ActionResult SprintProjectList(string searchTxt = "")
        {
            List <SprintProjectsDetails> projects = new List <SprintProjectsDetails>();

            try
            {
                projects = ProjectsLogic.GetProjectsBySprintId(StoriesFilterSession.sprintId, searchTxt);
            }
            catch (Exception e)
            {
                LogsLogic.InsertLog(new Log()
                {
                    Message    = e.Message,
                    StackTrace = e.StackTrace,
                    StoryName  = "ManagementProject/Projects/SprintProjectList",
                    Parameters = "sprintId= " + StoriesFilterSession.sprintId
                });
                return(RedirectToAction("GeneralError", "Error", new { ErrorMessage = Error.ServerNotRespond }));
            }
            return(PartialView("StoriesSprintList", projects));
        }
예제 #2
0
        public ActionResult SprintProjectsList(string searchTxt = "")
        {
            List <SprintProjectsDetails> ProjectsDetails = ProjectsLogic.GetProjectsBySprintId(StoriesFilterSession.sprintId, searchTxt);

            return(PartialView(ProjectsDetails));
        }