예제 #1
0
        public async Task <IHttpActionResult> countByStatus(int id)
        {
            try
            {
                var cant = await _repository.countByStatus(id);//id is estadoFlujo

                return(Ok(cant));
            }
            catch (Exception e)
            {
                log.Error(new MDCSet(this.ControllerContext.RouteData), e);

                return(InternalServerError(e));
            }
        }