コード例 #1
0
        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);
        }