Exemple #1
0
 public Alert Create(Alert alert)
 {
     return(alertsRepository.Create(alert));
 }
Exemple #2
0
        public async Task <Alert> Create(Alert model)
        {
            var createdId = await _alertRepository.Create(model);

            return(await _alertRepository.Read(createdId));
        }