///////////////INTERFACE METHOD//////////////////////
 public NoteDTO CreateNoteDTO(int userId, int postId, string body)
 {
     try
     {
         var a = CreateNote(userId, postId, body);
         return(NoteMapper.MapNoteToNoteDTO(a));
     }
     catch (Exception ex)
     {
         //   UnitOfWork.WriteErrorLog(ex);
     }
     return(null);
 }
        public NoteDTO GetNoteAsDTO(int userId, int postId)
        {
            var a = GetNote(userId, postId);

            return(NoteMapper.MapNoteToNoteDTO(a));
        }