//init - Create Database //Inject Controllers //Create a Group Admin //Create a Role ALL //Add all permissions to specific resource //O cara chama o init. ele pode ter um controller init public async Task Init(InitCommand command, CancellationToken cancellationToken = default) { command.EnsureIsValid(); //TODO: ServciceDomain //check if has user created var adminUser = authorizationRepository.GetAdminUser(command.Username, command.Password.Md5Hash()); if (adminUser is null) { throw new Exception(""); } return; }