Function create

Source
pub async fn create(
    db: &State<Surreal<Client>>,
    contest: Json<CreateContest>,
) -> Result<OwnedId>