public IHttpActionResult GetByCurrentUser()
        {
            var terminals = _terminal.GetByCurrentUser()
                            .Select(Mapper.Map <TerminalDTO>)
                            .ToList();

            return(Ok(terminals));
        }
 public IEnumerable <TerminalDO> GetByCurrentUser()
 {
     return(_terminal.GetByCurrentUser());
 }