common::dao

Function create_new

pub fn create_new<T>(entity: T, conn: &PgConnection) -> Result<T, Error>