pub async fn create<'a, E>( executor: E, company_id: i32, params: CreateParams, ) -> Result<Agent>where E: Executor<'a, Database = Postgres>,
Get agent.
Returns error if there was a problem while accessing database.