public NoteDTO FindByTitle(string title)
 {
     var domain = _noteRepo.Find(x => x.Title == title);
     var dto = new NoteDTO();
     dto.InjectFrom(domain);
     return dto;
 }
        public NoteDTO FindById(int id)
        {
            var domain = _noteRepo.Find(id);

            var dto = new NoteDTO();
            dto.InjectFrom(domain);
            return dto;
        }