Esempio n. 1
0
        public async Task <IActionResult> GetListReportCallStatistics(DateTime from_date, DateTime to_date, string campaign_category_id, string campaign_id, string team_id, string tsr_id)
        {
            try
            {
                var response = await _reportsRepository.GetListReportCallStatistics(from_date, to_date, campaign_category_id, campaign_id, team_id, tsr_id);

                return(Ok(new ResponseListForm <object>(response)));
            }
            catch (Exception e)
            {
                return(StatusCode(400, new { code = 400, message = e.Message, data = (object)null }));
            }
        }