Ejemplo n.º 1
0
        public IActionResult AddCallCenter(CallCenterView request)
        {
            request.UserId = _httpContextAccessor.HttpContext.Request.Cookies["UserId"];
            var response = _iCallCenterService.AddCallCenter(request);

            return(Ok(response));
        }
        public IActionResult AddCallCenter(CallCenterView view)
        {
            var response = _callCenter.AddCallCenter(view);

            return(Ok(response));
        }