/// <summary>
 /// Delete the note Permanently from the Database.
 /// </summary>
 /// <param name="userId">User Id</param>
 /// <returns>return true if deleted successfully or else false</returns>
 public async Task <bool> BulkDeleteNote(int userId)
 {
     try
     {
         if (userId <= 0)
         {
             return(false);
         }
         else
         {
             return(await _notesRepository.BulkDeleteNote(userId));
         }
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }