public static void Initialize()
        {
            if (!isInitialized)
            {
                #region Inspection
                isInitialized = true;
                Inspection inspection_1 = new Inspection
                {
                    CreatedTime = DateTime.Now,
                    Type = InspectionType.ProjectInspection,
                    IsSafe = IsSafe.NotComplited,
                    LocationWhenCreated = "some location",
                    ModifiedTime = DateTime.Now,
                    Name = "Inspection 1 for ProjectInspection",
                    Id = 1
                };
                Inspection inspection_2 = new Inspection
                {
                    CreatedTime = DateTime.Now,
                    Type = InspectionType.SubcontractorInspection,
                    IsSafe = IsSafe.NotComplited,
                    LocationWhenCreated = "some location",
                    ModifiedTime = DateTime.Now,
                    Name = "Inspection 1 for SubcontractorInspection",
                    Id = 2
                };
                inspections.Add(inspection_1);
                inspections.Add(inspection_2);
                #endregion

                #region Category
                categories.Add(new Category { Id = 1, Name = "Administration" });
                categories.Add(new Category { Id = 2, Name = "Asbestos" });
                categories.Add(new Category { Id = 3, Name = "Confined Space" });
                categories.Add(new Category { Id = 4, Name = "Control of Hazardous Energy" });
                categories.Add(new Category { Id = 5, Name = "Demolition" });
                categories.Add(new Category { Id = 6, Name = "Electrical Safety" });
                categories.Add(new Category { Id = 7, Name = "Environmental" });
                #endregion

                #region Note
                List<string> noteContents = new List<string>();
                noteContents.Add("question note_1");
                noteContents.Add("question note_2");
                noteContents.Add("question note_3");
                noteContents.Add("question note_4");
                noteContents.Add("inspection note_1");
                noteContents.Add("inspection note_2");
                noteContents.Add("ToDelete");
                int count = 1;
                foreach (string content in noteContents)
                {
                    Note note = new Note
                    {
                        Id = count,
                        Content = content,
                        Type = NoteType.Text
                    };
                    notes.Add(note);
                    count++;
                }

                questionNote.Add(1, 1);
                questionNote.Add(2, 1);
                questionNote.Add(3, 2);
                questionNote.Add(4, 3);

                inspectionNote.Add(5, 1);
                inspectionNote.Add(6, 1);
                #endregion

                #region Question
                List<string> questionNames = new List<string>();
                questionNames.Add("Accountability Plan Utilized");
                questionNames.Add("Address Displayed On Perimeter");
                questionNames.Add("Adequate 1st Aid Kits");
                questionNames.Add("Adequate Eyewash Stations");
                questionNames.Add("Annual Program Evaluation");
                questionNames.Add("Competent Persons List");
                questionNames.Add("Coord With Local FD");
                questionNames.Add("CSAP Enrollment Complete");
                int counter = 1;
                foreach (string name in questionNames)
                {
                    Question question = new Question
                    {
                        Id = count,
                        CreatedTime = DateTime.Now,
                        IsSafe = IsSafe.NotComplited,
                        ModifiedTime = DateTime.Now,
                        Text = name,
                        NotesCounter = questionNote.Where(n => n.Value == counter).Count()
                    };
                    questions.Add(question);
                    counter++;
                }
                #endregion

            }
        }
        public ComplexObjects.Note GetNote(string noteUUID)
        {
            CSInspectionDatabaseModel.Note noteFromDBModel = context.Notes.Where(n => n.UUID == noteUUID).Select(n => n).FirstOrDefault();

            ComplexObjects.Note note = new ComplexObjects.Note();
            note.UUID = noteFromDBModel.UUID;
            note.Content = noteFromDBModel.Content;
            note.Type = (NoteType)noteFromDBModel.Type;
            note.OrderNumber = noteFromDBModel.OrderNumber;
            note.Name = noteFromDBModel.Name;

            return note;
        }