예제 #1
0
        public async ValueTask <IActionResult> GetCallReason(string callResultID, string regionId_C, string status, string name, int limit, int offset)
        {
            try
            {
                var response = await _callRepository.GetCallReason(callResultID, regionId_C, status, name, limit, offset);

                var json = JsonConvert.SerializeObject(response);
                return(Content(json, "application/json"));
            }
            catch (Exception e)
            {
                throw e;
            }
        }