public async Task MetricasBusiness_NumeroEventosRegistradosUltimoMes_ShouldDoMetrics() { MetricasBusiness metricasBusiness = new MetricasBusiness(); WrapperSimpleTypesDTO wrapper = await metricasBusiness.NumeroEventosRegistradosUltimoMes(); Assert.IsNotNull(wrapper); }
public async Task <IHttpActionResult> NumeroEventosRegistradosUltimoMes() { try { WrapperSimpleTypesDTO wrapperNumeroEventosRegistradosUltimoMes = await _metricasBusiness.NumeroEventosRegistradosUltimoMes(); return(Ok(wrapperNumeroEventosRegistradosUltimoMes)); } catch (Exception ex) { return(InternalServerError(ex)); } }