public async Task <bool> ToggleArchive(long noteId, long Id) { try { await redis.RemoveNotesRedisCache(Id); return(notesRL.ToggleArchive(noteId, Id)); } catch (Exception) { throw; } }
public async Task <bool> ToggleArchive(long noteId, long Id) { try { await redis.RemoveNotesRedisCache(Id); return(notesRL.ToggleArchive(noteId, Id)); } catch (Exception) { throw; } }