public async Task <string> DeleteNotification(int Id) { string Status = string.Empty; var result = data.Delete(Id); Status = result != null ? "Notification deleted successfully." : "Failed to delete Notification"; return(Status); }