/// <summary> /// Get List of Project /// </summary> /// <returns>Project List</returns> public List <ProjectModel> GetProjectList() { log.Debug(MethodHelper.GetCurrentMethodName() + " Method execution start."); List <ProjectModel> projectList = null; try { using (ProjectDB projectDB = new ProjectDB()) { projectList = projectDB.GetProjectList(); return(projectList); } } catch (Exception exception) { errorLog.Fatal("Exception " + exception.Message + "\n" + exception.StackTrace); throw; } finally { log.Debug(MethodHelper.GetCurrentMethodName() + " Method execution end."); } }