import { IAuthContext } from "../../../Auth.context";
import { IdentityController } from "./Identity.controller";
import { identityPresenter } from "./presenter";

export const createIdentityController = (context: IAuthContext) => {
  return new IdentityController(
    {
      presenter: identityPresenter,
    },
    context
  );
};
