public Alert Create(Alert alert) { return(alertsRepository.Create(alert)); }
public async Task <Alert> Create(Alert model) { var createdId = await _alertRepository.Create(model); return(await _alertRepository.Read(createdId)); }