pub async fn create<'a, E: Executor<'a, Database = Postgres>>( executor: E, company_id: i32, params: CreateParams<'a>, ) -> Result<Task>
Create new task.
Returns error if there was a problem while inserting new task.