private async Task <string> GetAlert() { var Alerts = await _AlertRepository.GetAllAlerts(); return(JsonConvert.SerializeObject(Alerts)); }