示例#1
0
        public void AddNote()
        {
            NoteRepository noteRepository = new NoteRepository();
            NoteModel      noteModel      = new NoteModel()
            {
                Email       = "*****@*****.**",
                Title       = "title",
                Description = "descrip",
                Archive     = true,
                AddImage    = "image",
                ChangeColor = "Red",
                Reminder    = "remainder",
                Trash       = true,
                Pin         = true,
            };

            Assert.IsNotNull(noteRepository.AddNotes(noteModel));
        }