public async Task <ActionResult> UpdateTerminals([FromBody] GetTerminalDto updateTerminalDto)
        {
            var response = await _terminalservice.GetTerminalByID(updateTerminalDto.TerminalID);

            if (response.Data == null)
            {
                return(NotFound());
            }
            else
            {
                return(Ok(await _terminalservice.UpdateTerminal(updateTerminalDto)));
            }
        }
        public async Task <ActionResult> AddTerminal([FromBody] GetTerminalDto terminal)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            var response = await _terminalservice.AddTerminal(terminal);

            if (response.Data == null)
            {
                return(NotFound(response));
            }
            return(Ok(response));
        }