public async Task AddAsync([FromBody] AgentCM agent) { var input = TypeMapper.MapSingle <AgentCM, Agent>(agent); await _agentService.AddAgentAsync(input); }