public async Task <bool> RemoveNotification(string username, int notificationId) { var notUser = await notificationRepo.GetUserNameForNotification(notificationId); if (username != notUser) { return(false); } else { await notificationRepo.Remove(notificationId); } return(true); }