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)); }